/* ==================== Card Hover ==================== */
.card:hover {
    transform: translateY(-3px);
    transition: all 0.2s ease-in-out;
}

/* ==================== Loader ==================== */
.loader {
    text-align: center;
    padding: 20px;
    font-weight: bold;
    color: #ccc;
}

/* ==================== Carousel Item ==================== */
.carousel-item img {
    max-height: 200px;
    object-fit: cover;
}
/**/


/* ==================== Modal Image ==================== */
.modal-body img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}


/* ==================== User list ==================== */
.appuser-card {
    transition: transform 0.2s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.card-title {
    font-weight: 500;
    font-size: 18px;
}
.card .card-title
{
    font-weight:600;
}

.appuser-card:hover {
    transform: translateY(-4px);
}

.user-img-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

    .user-img-container:hover .user-img {
        transform: scale(1.1);
        opacity: 0.8;
    }

.img-overlay {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0) scale(0.9);
    width: 198px;
    height: 198px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.user-img-container:hover .img-overlay {
    top: 8px;
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
}

.overlay-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.user-img-container:hover .overlay-text {
    transform: translateY(0);
    opacity: 1;
}
.appuser-card .user-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.status-dot {
    position: absolute;
    bottom: 12px;
    right: 30%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
}
@media (max-width: 768px) {
    .status-dot {
        bottom: 4px;
        right: 50%;
        transform: translateX(50%);
        width: 10px;
        height: 10px;
    }
}
    .status-dot.online {
        background: #28a745;
    }

    .status-dot.offline {
        background: #6c757d;
    }

.card-details {
    font-size: 0.85rem;
    color: #555;
    overflow: hidden;
}

.field-line {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Tablet view (medium devices) */
@media (max-width: 1200px) {
    .appuser-card .user-img {
        width: 140px;
        height: 140px;
    }

    .img-overlay {
        width: 150px;
        height: 150px;
    }

    .status-dot {
        bottom: 8px;
        right: 38%;
    }
}

/* Mobile view (small devices) */
@media (max-width: 576px) {
    .appuser-card .user-img {
        width: 110px;
        height: 110px;
    }

    .img-overlay {
        width: 120px;
        height: 120px;
        top: 6px;
    }

    .overlay-text {
        font-size: 0.8rem;
    }

    .status-dot {
        bottom: 4px;
        right: 50%;
        transform: translateX(50%);
        width: 10px;
        height: 10px;
    }
}


/* === Outside Nav Buttons === */
.user-nav-outside {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1060; /* Above modal backdrop but below header */
    display: none; /* will show when modal is open */
}

.user-prev-outside {
    left: 80px;
}

.user-next-outside {
    right: 80px;
}

.user-nav-outside button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: none;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
}

    .user-nav-outside button:hover {
        background-color: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }

/* === Smooth Page-Change Animation === */
.user-modal-content {
    transition: transform 0.4s ease, opacity 0.4s ease;
}


/* Make icons visible and responsive on mobile */
@media (max-width: 768px) {
    .user-prev-outside {
        left: 10px;
    }

    .user-next-outside {
        right: 10px;
    }

    .user-nav-outside button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.user-img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

    .user-img-wrapper img.user-img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* crops image to fill the square */
        display: block;
    }


/*.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}*/

/* Hide arrows by default */
/*.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s;
}*/

/* Show arrows on hover */
/*.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 10px; 
    background-size: 50% 50%; 
}*/

.pointer {
    cursor: pointer;
}

@media (max-width: 992px) {
    .col-lg-3 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-lg-3, .col-md-4, .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /*.carousel-control-prev, .carousel-control-next {
        display: none;
    }*/
}

/* ---- Modal Content ---- */
.modal-body {
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.modal-field-line,
.modal-field-row {
    margin-bottom: 6px;
}

.modal-field-line .field-value {
    margin-right: 50px;
}


.field-separator {
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.modal-body img.img-fluid.rounded {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50% !important; /* full circle */
    border: 3px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* ---- Workshop Section in app user ---- */
.workshop-section-title {
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding-bottom: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.workshop-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workshop-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 16px 18px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid #ccc;
}

    .workshop-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    }

.workshop-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.workshop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 6px;
}

    .workshop-meta .meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .workshop-meta i {
        color: #333333;
    }

.workshop-desc {
    font-size: 0.92rem;
    color: #444;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}



/* ---- Workshop Section ---- */
.workshop-item .venue {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
}

    .workshop-item .venue i {
        margin-right: 5px;
    }

.session-container
{
    padding-top:0.5rem;

}
.filter-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

    .filter-box input {
        min-width: 120px;
    }

    .filter-box button {
        flex: 0 0 auto;
    }

.day-section {
    position: relative;
    margin-bottom: 2rem;
}

    .day-section::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 0;
        width: 4px;
        height: 100%;
        background: #dee2e6;
    }

.day-header {
    padding: 0.5rem 1rem;
    background: #e9ecef;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: 0.2s;
}

    .day-header:hover {
        background: #dee2e6;
    }

.day-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #fff;
    vertical-align: middle;
}

.workshop-item {
    position: relative;
    background: #fff;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    margin-bottom: 0.8rem;
}
.ml-p-5 {
    margin-left: 0.5rem;
}
.workshop-title {
    font-weight: 600;
    cursor: pointer;
}

    .workshop-title:hover {
        text-decoration: underline;
    }

.expand-icon {
    cursor: pointer;
    font-size: 0.9rem;
}

.desc {
    font-size: 0.9rem;
    /*color: #495057;*/
    margin-top: 0.3rem;
    /*display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;*/
}

/*.presenters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}*/

.presenter-modal-img {
    max-height: 200px;
}
.presenter-img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

    .presenter-img-wrapper img.presenter-modal-img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* crops image to fill the square */
        display: block;
    }


.presenters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.presenter-card {
    display: flex;
    cursor:pointer;
    align-items: center;
    width: calc(33.33% - 8px);
    background: #f8f9fa;
    border-radius: 4px;
    padding: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    .presenter-card:hover {
        transform: translateY(-3px);
    }

    .presenter-card img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid #ddd;
        margin-right: 8px;
    }



    .presenter-card div {
        font-size: 0.8rem;
        line-height: 1.1;
    }


/* Tablet (2 per row) */
@media (max-width: 900px) {
    .presenter-card {
        flex: 1 1 calc(50% - 12px);
    }
}

/* Mobile (1 per row, 100% width) */
@media (max-width: 600px) {
    .presenters {
        flex-direction: column;
    }

    .presenter-card {
        flex: 1 1 100%;
        width: 100% !important;
    }
}




.child-container {
    margin-left: 20px;
    border-left: 2px dashed #dee2e6;
    padding-left: 15px;
    margin-top: 0.5rem;
}

.load-more-btn {
    margin-top: 1rem;
    text-align: center;
}

/* image slide */
.gallery-grid {
    margin: 0 -8px;
}

.gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

    .gallery-card img, .gallery-card video {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .gallery-card:hover img, .gallery-card:hover video {
        transform: scale(1.05);
    }

.video-thumb {
    position: relative;
    display: block;
}

    .video-thumb .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        font-size: 2rem;
        color: #fff;
        text-shadow: 0 0 5px #000;
    }

.slideshow-container {
    position: relative;
    height: 300px;
}

.slideshow-item {
    height: 100%;
    cursor: pointer;
    object-fit: cover;
}

#mediaGalleryModal .modal-prev, #mediaGalleryModal .modal-next {
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

    #mediaGalleryModal .modal-prev:hover, #mediaGalleryModal .modal-next:hover {
        opacity: 1;
    }

    /**/

/* Presenter Cards */
.presenters-section .presenter-card-details {
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

    .presenters-section .presenter-card-details:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.presenters-section .presenter-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #007bff;
}

.presenters-section .presenter-name {
    margin-top: 8px;
    font-size: 1rem;
}

.presenters-section .presenter-title {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Child Workshop Cards */
.child-workshops .child-workshop-card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .child-workshops .child-workshop-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    }

    /* Exhibitor */
.exhibitor-card {
    cursor:pointer;
}

.exhibitor-category h5
{
    font-weight:bold;
}
.desc-block
{
    word-break:break-word;
}

.exhibitor-card {
    border-radius: 12px;
}

/* === Outside Nav Buttons === */
.exhibitor-nav-outside {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1060; /* Above modal backdrop but below header */
    display: none;
}

.exhibitor-prev-outside {
    left: 80px;
}

.exhibitor-next-outside {
    right: 80px;
}

.exhibitor-nav-outside button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: none;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.7);
}

    .exhibitor-nav-outside button:hover {
        background-color: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }

/* === Smooth Page-Change Animation === */
.exhibitor-modal-content {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.slide-in-next {
    transform: translateX(40px);
    opacity: 0;
    animation: slideInNext 0.4s forwards;
}

.slide-in-prev {
    transform: translateX(-40px);
    opacity: 0;
    animation: slideInPrev 0.4s forwards;
}

.slide-out-next {
    animation: slideOutNext 0.35s forwards;
}

.slide-out-prev {
    animation: slideOutPrev 0.35s forwards;
}

@keyframes slideInNext {
    0% {
        transform: translateX(40px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInPrev {
    0% {
        transform: translateX(-40px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutNext {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-40px);
        opacity: 0;
    }
}

@keyframes slideOutPrev {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(40px);
        opacity: 0;
    }
}

/* Make sure icons visible on mobile */
@media (max-width: 768px) {
    .exhibitor-prev-outside {
        left: 10px;
    }

    .exhibitor-next-outside {
        right: 10px;
    }

    .exhibitor-nav-outside button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}


#presenterBio {
    text-align: justify;
    word-break: break-word;
}

.card {

    border-radius: 12px;
}

.slideshow-container .slide-prev,
.slideshow-container .slide-next {
    opacity: 0; /* hidden by default */
    transition: opacity 0.3s;
}

.slideshow-container:hover .slide-prev,
.slideshow-container:hover .slide-next {
    opacity: 1; /* visible on hover */
}

