
/* =========================================================
   Reset & Base Styles
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}


/* =========================================================
   Buttons
========================================================= */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: .3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #3498db;
    color: #fff;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, .3);
}

.btn-secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: #fff;
}


/* =========================================================
   Header
========================================================= */

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: baseline;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #2c3e50;
}

.logo-highlight {
    color: #3498db;
}

.logo-subtitle {
    margin-left: 5px;
    font-size: .9rem;
    color: #7f8c8d;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: .3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* =========================================================
   Language Navigation Item
========================================================= */

.lang-row {
    display: flex !important;
    align-items: center;
    gap: 7px;
    margin-left: 30px;
}

.language-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.lang-row:hover .language-icon {
    transform: scale(1.08);
}

#lang-trigger-btn {
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

#lang-trigger-btn:hover {
    color: #3498db;
}
@media (max-width: 768px) {
    .language-icon {
        width: 26px;
        height: 26px;
    }
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* =========================================================
   Hero
========================================================= */

.hero {
    position: relative;

    background:
        linear-gradient(
            rgba(26, 26, 46, 0.82),
            rgba(67, 67, 94, 0.82)
        ),
        url("/pics/main/amirTemur.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;

    padding: 180px 0 100px;
    margin-top: -70px;

    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(52, 152, 219, .2);
    color: #3498db;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: .9rem;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #bdc3c7;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ecf0f1;
}

.hero-details {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    margin: 0 20px 10px;
}

.detail-item i {
    margin-right: 10px;
    color: #3498db;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.conference-image {
    width: 700px;
    height: auto;
    border-radius: 80px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
}


/* =========================================================
   About
========================================================= */

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 0 0 500px;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.image-placeholder {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    margin: 10px;
}

.stat h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #3498db;
}

.stat p {
    color: #7f8c8d;
}

.image-caption {
    text-align: center;
    margin-top: 15px;
}

.image-caption h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.image-caption p {
    font-size: .95rem;
    line-height: 1.5;
    color: #666;
}


/* =========================================================
   Footer
========================================================= */

footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-links a:hover {
    color: #3498db;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.social-icons a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #7f8c8d;
    font-size: .9rem;
}


/* =========================================================
   Language Button
========================================================= */

#lang-trigger-btn {
    cursor: pointer;
    font-weight: 600;
}


/* =========================================================
   Scroll Button
========================================================= */

.scroll-top-btn {
    position: fixed;

    bottom: 30px;
    right: 30px;

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #2563eb,
        #1e40af
    );

    color: #fff;

    font-size: 1.2rem;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: .3s;

    z-index: 9999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 992px) {

    .hero-title {
        font-size: 2.8rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: left;
    }

    .about-image img {
        max-width: 300px;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-content > div {
        flex: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}


/* =========================================================
   Separation Section
========================================================= */

.conference-divider {
    background: linear-gradient(
        135deg,
        #1a1a2e 0%,
        #16213e 50%,
        #1a1a2e 100%
    );

    padding: 50px 0;
    text-align: center;
}

.divider-symbol {
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    letter-spacing: 12px;
    font-weight: 600;
}


/* =========================================================
   Topics
========================================================= */

.topics-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 35px;
    margin-top: 60px;
    align-items: stretch;
}


/* ---------- Card ---------- */

.topic-card {
    grid-column: span 2;

    background: #fff;

    border-radius: 22px;

    padding: 38px 28px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    position: relative;
    overflow: hidden;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .07);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


/* Gradient line */

.topic-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #3498db,
        #5dade2,
        #85c1e9
    );
}


/* Decorative circle */

.topic-card i {
    position: relative;
    z-index: 1;
}

.topic-card i::after {
    content: "";

    position: absolute;

    inset: -10px;

    border-radius: 50%;

    background: rgba(52, 152, 219, .15);

    z-index: -1;

    transform: scale(.8);
    opacity: 0;

    transition: .4s ease;
}


/* Hover */

.topic-card:hover {
    transform:
        translateY(-12px)
        scale(1.02);

    box-shadow:
        0 20px 45px rgba(52, 152, 219, .18);
}

.topic-card:hover i::after {
    transform: scale(1.6);
    opacity: 1;
}


/* ---------- Icon ---------- */

.topic-card i {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #3498db,
        #5dade2
    );

    color: white;

    font-size: 2rem;

    margin-bottom: 24px;

    box-shadow:
        0 10px 25px rgba(52, 152, 219, .30);

    transition: .35s;
}

.topic-card:hover i {
    transform:
        rotate(-8deg)
        scale(1.12);
}


/* ---------- Title ---------- */

.topic-card h3 {
    font-size: 1.22rem;
    line-height: 1.45;
    font-weight: 700;
    color: #23395d;
    margin: 0;
    max-width: 260px;
}


/* ---------- Desktop: 3 + 3 ---------- */

.topic-card:nth-child(4),
.topic-card:nth-child(5),
.topic-card:nth-child(6) {
    grid-column: span 2;
}


/* ---------- Tablet ---------- */

@media (max-width: 900px) {

    .topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .topic-card,
    .topic-card:nth-child(4),
    .topic-card:nth-child(5),
    .topic-card:nth-child(6) {
        grid-column: auto;
    }
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

    .topics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .topic-card {
        padding: 30px 20px;
    }

    .topic-card i {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .topic-card h3 {
        font-size: 1.05rem;
    }
}



/* =========================================================
   Language Selector
========================================================= */

.swal-language-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.swal-lang-btn {
    border: none;
    background: white;

    padding: 15px;
    width: 130px;

    border-radius: 18px;

    cursor: pointer;
    transition: .3s;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .08);
}

.swal-lang-btn:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(52, 152, 219, .25);
}

.swal-lang-btn img {
    width: 65px;
    height: 65px;

    border-radius: 50%;

    object-fit: cover;

    margin-bottom: 10px;
}

.swal-lang-btn span {
    display: block;
    font-weight: 600;
    color: #2c3e50;
}

.swal2-popup {
    border-radius: 25px !important;
}


/* =========================================================
   Images
========================================================= */

.image-placeholder {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.image-placeholder img {
    width: 100%;
    height: auto;

    border-radius: 12px;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, .15);
}

.image-caption {
    margin-top: 14px;

    padding: 14px 20px;

    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;

    color: #1f1f1f;
    background: #f7f7f7;

    border-left:
        3px solid rgba(44, 107, 237, .8);

    border-right:
        3px solid rgba(44, 107, 237, .8);

    border-radius: 10px;

    text-align: center;
}

.textIndent {
    text-indent: 2em;
}


/* =========================================================
   General Mobile Responsive
========================================================= */

img {
    max-width: 100%;
    height: auto;
}

iframe,
video {
    max-width: 100%;
}

@media (max-width: 1024px) {

    .container {
        padding: 0 16px;
    }

    .topics-grid,
    .speakers-grid,
    .organizers-grid,
    .committee-grid,
    .stats-grid,
    .features-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .topic-card {
        grid-column: span 1 !important;
    }
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 14px;
    }

    h1 {
        font-size: 2rem !important;
    }

    .logo h1 {
        font-size: 1.2rem !important;
    }

    .logo-subtitle {
        font-size: .7rem !important;
    }

    .logo {
        flex-wrap: nowrap !important;
        max-width: 75%;
        overflow: hidden;
    }

    nav {
        flex-wrap: nowrap;
        padding: 12px 0 !important;
    }

    .logo,
    .logo h1,
    .logo-subtitle {
        margin: 0 !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .hero-content,
    .about-content,
    .registration-content,
    .contact-content,
    .footer-content,
    .timeline,
    .two-column {
        display: flex !important;
        flex-direction: column !important;
    }

    .topics-grid,
    .speakers-grid,
    .organizers-grid,
    .committee-grid,
    .stats-grid,
    .features-grid,
    .gallery-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .topic-card,
    .speaker-card,
    .organizer-card {
        grid-column: span 1 !important;
        width: 100% !important;
    }

    table {
        display: block;
        overflow-x: auto;
    }

    .nav-links {
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .container {
        padding: 0 12px;
    }

    .section-header h2 {
        font-size: 1.6rem !important;
    }

    p,
    li,
    a {
        font-size: .95rem;
    }

    .hero {
        min-height: auto;
        padding: 150px 0 60px;
    }
}


/* =========================================================
   Mobile Header Fixes
========================================================= */

@media (max-width: 768px) {

    .logo img {
        max-height: 48px !important;
        width: auto;
    }
}


/* =========================================================
   Registration
========================================================= */

.registration-section {
    background: #f9f9f9;
}

.registration-form {
    position: relative;

    max-width: 900px;

    margin: 0 auto;

    background: #fff;

    border-radius: 22px;

    padding: 50px 45px;

    overflow: hidden;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .07);
}

.registration-form::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #3498db,
        #5dade2,
        #85c1e9
    );
}


/* =========================================================
   Registration Deadline
   Centered line between registration description and form
========================================================= */

.registration-deadline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    margin: 14px auto 24px;
    padding: 0;

    background: transparent;
    border: none;
    border-radius: 0;

    color: #c0392b;
    font-size: .95rem;
    line-height: 1.4;
    text-align: center;
}

.registration-deadline::before {
    display: none;
}

.registration-deadline > i {
    flex-shrink: 0;
    color: #c0392b;
    font-size: .9rem;
}

.registration-deadline > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.registration-deadline strong {
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    color: #c0392b;
}

.registration-deadline span span {
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    color: #c0392b;
    white-space: nowrap;
}

.registration-deadline:hover {
    border: none;
    box-shadow: none;
    transform: none;
}

/* =========================================================
   Form Grid
========================================================= */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    font-size: .95rem;

    color: #2c3e50;

    margin-bottom: 8px;
}

.form-group label .optional-tag,
.form-group label .file-hint {
    font-weight: 400;
    font-size: .85rem;
    color: #7f8c8d;
}

.form-group label .required-star {
    color: #e74c3c;
    font-weight: 700;
}


/* =========================================================
   Text Inputs / Email / Textarea
========================================================= */

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    font-family: 'Poppins', sans-serif;

    font-size: 1rem;

    color: #333;

    padding: 12px 16px;

    border: 2px solid #e0e6ed;

    border-radius: 10px;

    background: #fbfcfe;

    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;

    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}


/* =========================================================
   Select Fields
========================================================= */

.form-group select {
    font-family: 'Poppins', sans-serif;

    font-size: 1rem;

    color: #333;

    width: 100%;

    min-height: 50px;

    padding: 12px 16px;

    border: 2px solid #e0e6ed;

    border-radius: 10px;

    background: #fbfcfe;

    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;

    cursor: pointer;

    appearance: auto;
}


/* Select focus */

.form-group select:focus {
    outline: none;

    border-color: #3498db;

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(52, 152, 219, .12);
}


/* Input / textarea focus */

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;

    border-color: #3498db;

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(52, 152, 219, .12);
}


/* Placeholder option */

.form-group select:invalid {
    color: #7f8c8d;
}

.form-group select option {
    color: #333;
    background: #fff;
}

.form-group select option:disabled {
    color: #7f8c8d;
}


/* =========================================================
   Disabled Inputs
========================================================= */

.form-group input:disabled,
.form-group select:disabled {
    background: #f0f2f5;
    color: #7f8c8d;
    cursor: not-allowed;
}


/* =========================================================
   File Upload
========================================================= */

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;
}

.file-upload-label {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 22px 20px;

    border: 2px dashed #a9c9e8;

    border-radius: 12px;

    background: #f2f8fd;

    color: #3498db;

    font-weight: 600;

    text-align: center;

    transition: .3s;

    cursor: pointer;
}

.file-upload-label i {
    font-size: 1.4rem;
}

.file-upload-wrapper:hover .file-upload-label {
    background: #e7f2fc;
    border-color: #3498db;
}


/* =========================================================
   Abstract Fields
========================================================= */

.abstract-fields {
    display: contents;
}

.abstract-fields.hidden {
    display: none;
}

.abstract-heading {
    margin-top: 5px;

    padding-top: 20px;

    border-top:
        1px dashed #e0e6ed;
}

.abstract-heading h4 {
    font-family: 'Montserrat', sans-serif;

    font-size: 1.25rem;

    color: #2c3e50;

    margin-bottom: 6px;
}

.abstract-heading p {
    font-size: .95rem;
    color: #7f8c8d;
}


/* =========================================================
   Checkbox Toggle
========================================================= */

.checkbox-group {
    padding: 18px 20px;

    background: #f2f8fd;

    border: 2px solid #d9ecfa;

    border-radius: 12px;
}

.checkbox-label {
    display: flex;

    align-items: center;

    gap: 14px;

    cursor: pointer;

    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;

    opacity: 0;

    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;

    width: 24px;
    height: 24px;

    border-radius: 6px;

    border: 2px solid #a9c9e8;

    background: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: .25s;
}

.checkbox-custom i {
    font-size: .75rem;

    color: #fff;

    opacity: 0;

    transform: scale(.5);

    transition: .2s;
}

.checkbox-label input[type="checkbox"]:checked
+ .checkbox-custom {
    background: #3498db;
    border-color: #3498db;
}

.checkbox-label input[type="checkbox"]:checked
+ .checkbox-custom i {
    opacity: 1;
    transform: scale(1);
}

.checkbox-label input[type="checkbox"]:focus-visible
+ .checkbox-custom {
    box-shadow:
        0 0 0 4px rgba(52, 152, 219, .2);
}


/* =========================================================
   Utility
========================================================= */

.hidden {
    display: none !important;
}


/* =========================================================
   Step Indicator
========================================================= */

.form-steps-indicator {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin-bottom: 40px;
}

.step-indicator-item {
    display: flex;

    align-items: center;

    gap: 10px;

    opacity: .45;

    transition: .3s;
}

.step-indicator-item.active,
.step-indicator-item.completed {
    opacity: 1;
}

.step-indicator-item .step-number {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: #e0e6ed;

    color: #7f8c8d;

    font-weight: 700;

    font-size: .9rem;

    transition: .3s;

    flex-shrink: 0;
}

.step-indicator-item.active .step-number {
    background: #3498db;
    color: #fff;
}

.step-indicator-item.completed .step-number {
    background: #2ecc71;
    color: #fff;
}

.step-indicator-item .step-label {
    font-weight: 600;

    font-size: .9rem;

    color: #2c3e50;

    white-space: nowrap;
}

.step-indicator-line {
    width: 60px;
    height: 3px;

    background: #e0e6ed;

    border-radius: 2px;

    transition: .3s;
}

.step-indicator-line.completed {
    background: #2ecc71;
}


/* =========================================================
   Step Panels
========================================================= */

.form-step {
    animation: fadeInStep .35s ease;
}

@keyframes fadeInStep {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-submit-row {
    margin-top: 35px;

    display: flex;

    justify-content: center;
}

.form-submit-row-split {
    justify-content: space-between;
}


/* =========================================================
   Inline Email + Code Input Rows
========================================================= */

.inline-input-row {
    display: flex;
    gap: 12px;
}

.inline-input-row input {
    flex: 1;
}

.btn-inline {
    flex-shrink: 0;

    padding: 12px 22px;

    white-space: nowrap;
}

.btn:disabled {
    opacity: .55;

    cursor: not-allowed;

    transform: none !important;

    box-shadow: none !important;
}


/* =========================================================
   Verification
========================================================= */

.verification-code-group {
    background: #f7fafd;

    border: 2px solid #e0e6ed;

    border-radius: 14px;

    padding: 20px;
}

.verification-status {
    margin-top: 10px;

    font-size: .9rem;

    min-height: 1.2em;

    line-height: 1.5;
}

.verification-status.info {
    color: #3498db;
}

.verification-status.success {
    color: #27ae60;

    font-weight: 600;
}

.verification-status.success::before {
    content: "\f058";

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    margin-right: 6px;
}

.verification-status.error {
    color: #e74c3c;

    font-weight: 600;
}

.resend-link {
    margin-top: 10px;

    background: none;

    border: none;

    color: #3498db;

    font-weight: 600;

    font-size: .85rem;

    cursor: pointer;

    padding: 0;

    text-decoration: underline;
}

.resend-link:disabled {
    color: #a9c9e8;

    cursor: not-allowed;

    text-decoration: none;
}


/* =========================================================
   Shake Animation
========================================================= */

.shake {
    animation: shakeInput .4s;
}

@keyframes shakeInput {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(6px);
    }
}


/* =========================================================
   Checkbox Text
========================================================= */

.checkbox-text {
    font-weight: 600;

    font-size: .98rem;

    color: #2c3e50;
}

.checkbox-text a {
    color: #1a73e8;

    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   Submit
========================================================= */

.form-submit-row {
    margin-top: 35px;

    text-align: center;
}

.form-submit-row .btn {
    padding: 14px 45px;

    font-size: 1.05rem;
}


/* =========================================================
   Registration Tablet / Mobile
========================================================= */

@media (max-width: 768px) {

    .registration-form {
        padding: 35px 22px;
        border-radius: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group select,
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        font-size: .95rem;
    }


    /* Registration Deadline */
    .registration-deadline {
        gap: 5px;
        margin-top: 9px;
        margin-bottom: 18px;
        font-size: .82rem;
        line-height: 1.35;
    }

    .registration-deadline > i {
        font-size: .78rem;
    }

    .registration-deadline > span {
        gap: 2px;
    }

}


/* =========================================================
   Registration Mobile
========================================================= */

@media (max-width: 600px) {

    .inline-input-row {
        flex-direction: column;
    }

    .form-steps-indicator {
        gap: 8px;
    }

    .step-indicator-item .step-label {
        display: none;
    }

    .step-indicator-line {
        width: 30px;
    }

    .form-submit-row-split {
        flex-direction: column-reverse;

        gap: 12px;
    }

    .form-submit-row-split .btn {
        width: 100%;

        text-align: center;
    }


    /* Registration Deadline */

    .registration-deadline {
        gap: 12px;

        padding: 15px 16px;

        margin-bottom: 30px;
    }

    .registration-deadline-icon {
        width: 40px;
        height: 40px;

        border-radius: 8px;

        font-size: .95rem;
    }

    .registration-deadline-content {
        gap: 8px;
    }

    .registration-deadline-content strong {
        font-size: .82rem;

        line-height: 1.3;
    }

    .registration-deadline-content span {
        font-size: 1rem;
    }
}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 480px) {

    .registration-form {
        padding: 28px 16px;
    }

    .file-upload-label {
        flex-direction: column;

        padding: 25px 15px;
    }

    .form-group select {
        padding: 12px 14px;
    }


    /* Registration Deadline */

    .registration-deadline {
        gap: 10px;

        padding: 14px 12px;
    }

    .registration-deadline-icon {
        width: 38px;
        height: 38px;

        font-size: .9rem;
    }

    .registration-deadline-content {
        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 1px;
    }

    .registration-deadline-content strong {
        font-size: .78rem;

        line-height: 1.35;
    }

    .registration-deadline-content span {
        font-size: .95rem;
    }
}

/* Required registration fields */
#registrationForm .required-field-error {
    border: 2px solid #c0392b !important;
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.08) !important;
    animation: registration-field-shake 0.42s ease-in-out;
}

#registrationForm select.required-field-error {
    border-color: #c0392b !important;
}

#registrationForm .required-field-error:focus {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14) !important;
}

@keyframes registration-field-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
    #registrationForm .required-field-error {
        animation: none;
    }
}




