/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/



/* ===== Conference Registration Form ===== */

#conferenceForm {
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 50px auto;
    font-family: "Segoe UI", sans-serif;
}

/* Heading */
#conferenceForm h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #222;
	margin-top: 0px;
}

/* Grid Layout */
#conferenceForm .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

/* Full Width Fields */
#conferenceForm .full-width {
    grid-column: span 2;
}

/* Form Group */
#conferenceForm .form-group {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

/* Labels */
#conferenceForm label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

/* Inputs */
#conferenceForm input[type="text"],
#conferenceForm input[type="email"],
#conferenceForm input[type="date"],
#conferenceForm input[type="file"],
#conferenceForm select,
#conferenceForm textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fafafa;
    transition: all 0.3s ease;
}

/* Focus */
#conferenceForm input:focus,
#conferenceForm select:focus,
#conferenceForm textarea:focus {
    border-color: #28a745;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.1);
}

/* Textarea */
#conferenceForm textarea {
    min-height: 100px;
    resize: vertical;
}

/* Amount Field */
#amount_display {
    background: #f3f3f3;
    font-weight: bold;
    font-size: 16px;
    color: #28a745;
    text-align: center;
}

/* Divider */
#conferenceForm hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #eee;
}

/* Button */
#rzp-button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
/*     margin-top: 20px; */
}

/* Hover */
#rzp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40,167,69,0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {

    #conferenceForm {
        padding: 25px;
    }

    #conferenceForm .form-grid {
        grid-template-columns: 1fr;
    }

    #conferenceForm .full-width {
        grid-column: span 1;
    }
}


/* Wrapper */
.sinct-accordion-wrapper {
    display: flex;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* Each Panel */
.sinct-accordion-item {
    position: relative;
    flex: 1;
    min-width: 80px;
    background-size: cover;
    background-position: center;
    transition: flex 0.6s cubic-bezier(.4,0,.2,1);
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

/* Hover expansion */
.sinct-accordion-item.active {
    flex: 6;
}

/* Overlay */
.sinct-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    opacity: 0;
    transition: 0.4s;
}

.sinct-accordion-item.active .sinct-overlay {
    opacity: 1;
}

/* Vertical Title */
.sinct-vertical-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: #f2f2f2;
    color: #444;
    font-weight: 600;
    padding: 20px 10px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sinct-content h2{
	color: #fff;
    margin-bottom: 10px;
}

/* Expanded Content */
.sinct-content {
    position: absolute;
    bottom: 40px;
    left: 60px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

.sinct-accordion-item.active .sinct-content {
    opacity: 1;
    transform: translateY(0);
}

.accordion-btn {
    margin-top: 15px;
    padding: 10px 25px;
    border-radius: 30px;
    border: 2px solid #FA0000;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.accordion-btn:hover {
    background: #FA0000;
    color: #fff;
}



/* MOBILE ONLY - Vertical Accordion */
@media (max-width: 992px) {
    /* Stack the items vertically */
    .sinct-accordion-wrapper {
        flex-direction: column;
        height: auto;
    }

    .sinct-accordion-item {
        width: 100%;
        min-width: 100%;
        height: 120px; /* Collapsed height */
        flex: none; /* Disable the desktop flex transition */
        transition: height 0.6s cubic-bezier(.4,0,.2,1);
        border-bottom: 1px solid #000;
        align-items: center; /* Center the label vertically */
        justify-content: center;
    }

    /* Expand height when active */
    .sinct-accordion-item.active {
        height: 500px; 
        flex: none;
        align-items: flex-end; /* Align content to bottom when open */
    }

    /* Transform the vertical sidebar into the horizontal white bar from screenshot */
    .sinct-vertical-title {
        writing-mode: horizontal-tb; /* Reset text direction */
        transform: none; /* Remove rotation */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px; /* Thickness of the white bar */
     
        background: rgba(255, 255, 255, 0.95);
        color: #777; /* Grey text color like screenshot */
        font-size: 1.3rem;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease;
    }

    /* Hide the white bar when active so content is visible */
    .sinct-accordion-item.active .sinct-vertical-title {
        opacity: 0;
        pointer-events: none;
    }

    /* Reset content positioning for mobile */
    .sinct-content {
        left: 20px;
        bottom: 50px;
        width: calc(100% - 40px);
		z-index: 10; /* Ensure content is above the overlay */
        pointer-events: none; /* Disable clicks when hidden */
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Force the overlay to show even without hover on mobile when active */
    .sinct-accordion-item.active .sinct-overlay {
        opacity: 1;
    }
	
	.sinct-accordion-item.active .sinct-content {
        pointer-events: auto; /* Enable clicks (for the button) when active */
    }

    .accordion-btn {
        position: relative;
        z-index: 20; /* Highest priority */
    }

	
}




.conf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
}

.conf-modal-content {
    background: #fff;
    width: 82%;
    margin: 4% auto;
    padding: 25px;
    border-radius: 8px;
    position: relative;
}

.conf-close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 26px;
    cursor: pointer;
}

.conf-profile-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 20px;
}

.conf-profile-card {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.conf-profile-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.conf-profile-card h3 {
    margin: 10px 0 5px;
}

.conf-profile-card p {
    margin: 3px 0;
    color: #555;
}

.conf-tabs {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #ddd;
}

.conf-tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 15px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.conf-tab-btn.active {
    border-color: #2271b1;
    color: #2271b1;
    font-weight: 600;
}

.conf-tab-content {
    display: none;
    margin-top: 20px;
}

.conf-tab-content.active {
    display: block;
}

.conf-detail-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    margin-bottom: 10px;
}

.conf-detail-row strong {
    color: #222;
}

