/* === General styles for the body === */
body {
    background-color: #121212; /* Deep grey instead of black */
    color: #e0e0e0; /* Softer white */
    font-family: 'Poppins', sans-serif;
}

body::-webkit-scrollbar {
    display: none;
}

/* === Canvas Container === */
.canvas-container {
    border: 4px solid #ffffff;
    width: 100%;
    max-width: 1400px;
    margin: 20px auto;
    overflow-x: scroll;
}
/* For WebKit browsers (Chrome, Safari, Edge) */
.canvas-container::-webkit-scrollbar {
    width: 8px;
}

.canvas-container::-webkit-scrollbar-track {
    background: transparent;
}

.canvas-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1); /* subtle by default */
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

/* When hovering over the container, highlight scrollbar */
.canvas-container:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.6); /* blue highlight */
}

/* Firefox support */
.canvas-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.6) transparent;
}


/* === Canvas Element === */

/* === Input and Buttons Container === */
.input-and-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* === Main Heading === */
.head {
    color: #3fa9f5;
    font-size: 50px;
    font-weight: bold;
    margin-left: 20px;
}

/* === Enqueue Input Field === */
.enqueue-input {
    width: 100%;
    max-width: 400px;
    padding: 0px 20px;
    border-radius: 6px;
    height: 40px;
    color: #ffffff;
    background-color: #2b2b2b;
    font-family: 'Poppins';
    font-weight: bold;
    font-size: 16px;
    margin: 10px auto;
    border: none;
}


button {

    color: #000000;
    padding: 0.8rem 1rem;
    margin: 0.3rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    font-family: 'Poppins';
    cursor: pointer;
    transition: 0.2s ease;
    width: 200px;
}

.enqueue-button{
    background-color:  #3fa9f5;
    color: white;
}

.delete-button{
      color: #ffffff;
    background-color: #f53f3f;
}

button:hover {
    box-shadow: 0 0 4px #3fa9f5;
}


.delete-button:hover {
    color: #ffffff;
    box-shadow: 0 0 4px #f53f3f;
}
/* === Context and Log Section === */
.context-and-log {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 60px;
    gap: 20px;
}

.context-and-log h1 {
    color: #ffffff;
    text-align: center;
}

/* === Headings inside Context === */
h2 {
    color: #3fa9f5;
   
    padding-bottom: 5px;
}

/* === Paragraph Text === */
p, ul {
    font-size: 18px;
    color: #e0e0e0;
    font-weight: 500;
}

/* === Highlighted Text === */
.highlight {
    font-weight: bold;
    color: #ffffff;
}

/* === Explanation Boxes === */
.box {
    background-color: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(63, 169, 245, 0.1);
    margin-bottom: 20px;
    color: #e0e0e0;
}

/* === Log Section === */
.log {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .context-and-log {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .head {
        font-size: 40px;
        text-align: center;
        margin-left: 0;
    }

    .enqueue-input {
        max-width: 300px;
    }

    button {
        width: 100%;
        max-width: 250px;
    }

    .canvas-container {
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .head {
        font-size: 30px;
    }

    .enqueue-input {
        max-width: 250px;
    }

    button {
        max-width: 200px;
    }

    .canvas-container {
        max-width: 400px;
    }
}
