.circle_container {
    width: 80px;
    height: 80px;
    border-radius: 42px;
    border: 3px solid #fff;
    font-family: Cambria;
    font-size: 16px;
    color: white;
    line-height: 80px;
    text-align: center;
    background: #51789f;
    box-shadow: 0 0 0 3px #345f8b; 
    margin-right:15px;
    float:left;
}

.circle_container-red {
    width: 80px;
    height: 80px;
    border-radius: 42px;
    border: 3px solid #fff;
    font-family: Cambria;
    font-size: 16px;
    color: white;
    line-height: 80px;
    text-align: center;
    background: #dd6666;
    box-shadow: 0 0 0 3px #c44040; 
    margin:5px;
    float:left;
}

.circle_avatar {
    border-radius: 50%;
    object-fit: cover; 
}

/* Carousel Styles */
.carousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Auto-width carousel container */
.carousel-auto-width {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
}

/* Responsive auto-width adjustments */
@media (max-width: 1200px) {
    .carousel-auto-width {
        border-radius: 6px;
    }
}

@media (max-width: 768px) {
    .carousel-auto-width {
        border-radius: 4px;
        margin: 0 -15px !important; /* Extend to edges on mobile */
    }
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-item img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* Custom Carousel Controls */
.custom-carousel-control {
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

.custom-carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.carousel-control-prev.custom-carousel-control {
    left: 20px !important;
}

.carousel-control-next.custom-carousel-control {
    right: 20px !important;
}

.carousel-control-icon {
    color: white !important;
    font-size: 28px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    display: block !important;
    text-align: center !important;
}

/* Enhanced Carousel Indicators */
.custom-carousel-indicators {
    position: absolute !important;
    bottom: 20px !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: 15 !important;
    margin: 0 auto !important;
}

.indicator-dot {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.indicator-dot:hover {
    background-color: rgba(255, 255, 255, 0.7) !important;
    transform: scale(1.2) !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4) !important;
}

.indicator-dot.active {
    background-color: #fff !important;
    border-color: #fff !important;
    transform: scale(1.4) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5) !important;
}

/* Numerical Counter */
.carousel-counter {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    z-index: 15 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(5px) !important;
}

.counter-text {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Upload Area Styles */
.upload-area {
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.upload-area.dragover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Image Grid Styles */
.images-list .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #dee2e6;
}

.images-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.images-list .card-img-top {
    position: relative;
    overflow: hidden;
}

.images-list .card-img-top img {
    transition: transform 0.3s ease;
}

.images-list .card-img-top:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel {
        border-radius: 4px;
    }
    
    .custom-carousel-control {
        width: 40px !important;
        height: 40px !important;
    }
    
    .carousel-control-icon {
        font-size: 24px !important;
    }
    
    .carousel-control-prev.custom-carousel-control {
        left: 10px !important;
    }
    
    .carousel-control-next.custom-carousel-control {
        right: 10px !important;
    }
    
    .custom-carousel-indicators {
        bottom: 15px !important;
        gap: 8px !important;
    }
    
    .indicator-dot {
        width: 12px !important;
        height: 12px !important;
    }
    
    .carousel-counter {
        top: 10px !important;
        right: 10px !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
    
    .images-list .col-md-4 {
        margin-bottom: 1rem;
    }
}