.photowizard {
    font-family: 'Vazir', sans-serif;
    direction: rtl;
}


.modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

.modal-content {
    background-color: #f4f4f4;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modal-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.modal-body {
    display: flex;
    padding: 15px;
}

.photo-category {
    width: 30%;
    padding-left: 15px;
}

.photo-display {
    width: 70%;
}

#slideshow_topic {
    list-style-type: none;
    padding: 0;
}

#slideshow_topic li {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#slideshow_topic li:hover {
    background-color: #e9e9e9;
}

#slideshow_topic li.selected {
    background-color: #ddd;
    font-weight: bold;
}




/* CSS updates */
.large_photo {
    position: relative;
    margin-bottom: 15px;
}

.large_photo img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.large_photo .icon-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 50%;
    padding: 5px;
}

.fa-check {
    color: #4CAF50;
    font-size: 24px;
}

.fa-times {
    color: #F44336;
    font-size: 24px;
}



/* ... (rest of the CSS remains the same) ... */

.photo-reel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

#carousel_viewport {
    overflow: hidden;
    width: 80%;
}

#carousel {
    display: flex;
    list-style-type: none;
    padding: 0;
    transition: transform 0.3s ease-in-out;
}

/* CSS updates */
#carousel li {
    position: relative;
    flex: 0 0 auto;
    margin-right: 10px;
}

#carousel li img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
}

#carousel .icon-container {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 50%;
    padding: 2px;
}

#carousel .fa-check,
#carousel .fa-times {
    font-size: 12px;
}

.up_arrow, .down_arrow {
    cursor: pointer;
    font-size: 24px;
    color: #333;
}

.up_inactive, .down_inactive {
    opacity: 0.5;
    cursor: not-allowed;
}

.tip {
    background-color: #FFF9C4;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.fa-camera-retro {
    margin-right: 5px;
}
/* Add these new styles for the close button */
.close {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
}