/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal h2 {
    color: #fefefe;
}

.modal h1 {
    color: #fefefe;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    background: var(--primary-color-light);
    color: var(--text-color);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Disable scrolling class */
.no-scroll {
    overflow: hidden;
}

/* Full image modal styles */
.full-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.view-full-image-button {
    padding: 10px;
    margin-top: 10px;
    background: var(--sidebar-color); /* Use your primary color */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-full-image-button:hover {
    background: #555;
}
