body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f5f5f5;
}

#toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(to right, #4a90e2, #50c1e9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

#toolbar button, 
#toolbar select, 
#toolbar input[type="color"] {
    margin: 0 8px;
    font-size: 16px;
    cursor: pointer;
    background: linear-gradient(to bottom, #ffffff, #e6e6e6);
    border: none;
    border-radius: 8px;
    padding: 8px 12px ;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    color: #333;
}


#toolbar button i {
    font-size: 20px;
    vertical-align: middle;
}

#toolbar button:hover {
    background: linear-gradient(to bottom, #4a90e2, #50c1e9);
    color: white;
    transform: scale(1.1);
}

#toolbar input[type="color"] {
    border: none;
    padding-left: 0;
    padding-right: 0;
    width: 41.5px;
    height: 36.25px;
    
    cursor: pointer;
}

#toolbar select {
    background: linear-gradient(to bottom, #ffffff, #e6e6e6);
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease-in-out;
}

#lock-toggle {
    background: #ff6b6b;
    color: white;
}

#lock-toggle:hover {
    background: #ff5252;
}

.main-whiteboard-container {
    display: flex;
    height: 100%;
    gap: 16px;
    padding: 10px;
    background: #f0f4f8;
    border-top: 2px solid #4a90e2;
    position: relative;
}

/* Side Panel Toggle Button */
#toggle-drawing-list {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to bottom, #ffffff, #e6e6e6);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    color: #333;
    z-index: 1000;
}

#toggle-drawing-list:hover {
    background: linear-gradient(to bottom, #4a90e2, #50c1e9);
    color: white;
    transform: scale(1.1);
}

#drawingList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 250px;
    max-height: 90%;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: transform 0.3s ease-in-out;
}

#drawingList.hidden {
    transform: translateX(-260px);
}

#drawingList li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    transition: box-shadow 0.3s ease-in-out;
}

#drawingList li:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.drawing-image {
    height: 50px;
    width: 100px;
    border-radius: 4px;
    object-fit: cover;
}

#edit-image, #delete-image {
    cursor: pointer;
    margin-left: 10px;
    font-size: 18px;
    color: #4a90e2;
    transition: color 0.3s ease-in-out;
}

#edit-image:hover, #delete-image:hover {
    color: #ff6b6b;
}

#whiteboard-container {
    flex-grow: 1;
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #f2f6fc);
    border-radius: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

#whiteboard {
    width: 100%;
    height: 100%;
    border: 2px dashed #50c1e9;
    border-radius: 12px;
    background: white;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

#whiteboard:hover {
    border-color: #4a90e2;
}

/* Sticky Note */
.sticky-note {
    position: absolute;
    width: 150px;
    height: 150px;
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border: 2px solid #ffc107;
    border-radius: 8px;
    resize: both;
    overflow: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sticky-note:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Dark Mode */
.dark-mode {
    background-color: #1e1e2f;
    color: white;
}

.dark-mode #toolbar {
    background: linear-gradient(to right, #434343, #2b2b2b);
}

.dark-mode #toolbar button {
    background: linear-gradient(to bottom, #4a4a4a, #2b2b2b);
    color: white;
}

.dark-mode #whiteboard {
    background: #2b2b2b;
    border-color: #4a90e2;
}

.dark-mode .sticky-note {
    background: #333;
    color: white;
    border-color: #4a90e2;
}

.dark-mode #drawingList {
    background: #2b2b2b;
    border-color: #434343;
    color: white;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.dark-mode #drawingList li {
    background: darkgray;
    border-color: #434343;
    color: white;
}

.dark-mode #drawingList li:hover {
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.dark-mode #edit-image, 
.dark-mode #delete-image {
    color: #50c1e9;
}

.dark-mode #edit-image:hover, 
.dark-mode #delete-image:hover {
    color: #ff6b6b;
}

.dark-mode #toggle-drawing-list {
    background: linear-gradient(to bottom, #4a4a4a, #2b2b2b);
    color: white;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.dark-mode #toggle-drawing-list:hover {
    background: #4a90e2;
    color: white;
}

#logo-img{
    height: 60px;
}