﻿body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg);
    color: var(--text);
    transition: background 0.3s, color 0.3s;
    margin: 0;
}
/* font family*/
@font-face {
    font-family: 'RobotoCondensed';
    src: url('../fonts/RobotoCondensed.ttf') format('truetype');
}

@font-face {
    font-family: 'RobotoCondensed-Regular';
    src: url('../fonts/RobotoCondensed-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.ttf') format('truetype');
}
/* font family*/

:root {
    --headfont: 'RobotoCondensed', sans-serif;
    --subfont: 'RobotoCondensed-Regular', sans-serif;
    --bodyfont: 'Inter', sans-serif;
    --bg: #ffffff;
    --text: #0f172a;
    --heading: #1d753b;
    --subheading: #39aea9;
    --accent: #028174;
    --highlight: #cea473;
}

.dark-mode {
    --bg: #0f172a;
    --text: #e2e8f0;
    --heading: #86efac;
    --subheading: #4ade80;
    --accent: #22c55e;
    --highlight: #cea473;
}

.registration-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ===== TAB NAVIGATION - SIMPLE & CLEAN ===== */
.tab-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 25px;
    background: #028174;
    border: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 30px;
    margin-bottom: 15px;
}

.dark-mode .tab-button {
    background: #FFB95C;
    color: #0f172a;
}

.tab-button:hover {
    background: #1d753b;
    color: #fff;
}

.dark-mode .tab-button:hover {
    background: #028174;
    color: #fff;
}

.tab-button.active {
    background-color: transparent;
    color: #028174;
    border-color: #028174;
}

.dark-mode .tab-button.active {
    background-color: transparent;
    color: #FFB95C;
    border-color: #FFB95C;
}

.tab-button.completed::after {
    content: "✓";
    position: absolute;
    right: 8px;
    top: 8px;
}

.tab-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: #eee;
    color: #555;
}

/* ===== TAB CONTENT ===== */
.tab-content-area {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .tab-content-area.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FORM ELEMENTS ===== */
.form-group-sub {
    margin: 15px 0px !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 0px 0px 5px 0px;
}

.dark-mode .form-group-sub {
    border-bottom: 1px solid #ccc;
}

.form-group-sub-bottom, .dark-mode .form-group-bottom {
    border-bottom: none !important;
}

.form-group label, .form-group-sub label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 500;
}

    .form-group label.required::after, .form-group-sub label.required::after {
        content: " *";
        color: #f44336;
    }

.form-group-sub h3 label {
    margin: 0px !important;
}

.form-group-sub h3 {
    margin: 0px 0px 10px;
    font-size: 16px;
    color: var(--text);
    line-height: 25px;
}

.form-group-sub h5 {
    margin: 0px 0px 5px;
    font-size: 15px;
    color: rgba(0,0,0,0.6);
    line-height: 22px;
}

.dark-mode .form-group-sub h5 {
    color: #fff;
}

.form-terms {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.dark-mode .form-terms {
    background: var(--bg);
}

.form-terms h4 {
    margin: 0px 0px 10px;
    font-size: 18px;
    color: #333;
}

.dark-mode .form-terms h4 {
    color: #22c55e;
}

.form-terms h6 {
    margin: 0px 0px 10px;
    font-size: 16px;
    color: #555;
}

.dark-mode .form-terms h6 {
    color: #FFB95C;
}

.lbl-form-captcha {
    margin: 5px 0px 10px;
}

    .lbl-form-captcha label {
        font-family: var(--headfont);
        margin: 0px 0px 10px;
        color: var(--text);
        margin-left: 5px;
        cursor: pointer;
    }

.terms-link a {
    color: #1d753b;
    transition: all 0.5s;
}

    .terms-link a:hover {
        text-decoration: underline;
    }

.dark-mode .terms-link a {
    color: #FFB95C;
}

.form-control {
    border: 1px solid rgba(0,0,0,0.15);
    background-color: #f2f2f2;
    border-radius: 7px;
    padding: 10px;
    color: #000;
    font-size: 15px;
    width: 100%;
}

    .form-control:focus {
        outline: none;
        border-color: #2196F3;
        box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    }

    .form-control.error {
        border-color: #f44336;
    }

.error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

    .error-message.show {
        display: block;
    }

/* ===== USER TYPE SELECTION ===== */
.user-type-selection {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0 40px;
    flex-wrap: wrap;
}

.user-type-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 30px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .user-type-card:hover {
        border-color: #FFB95C;
        box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
        transform: translateY(-2px);
    }

    .user-type-card.selected {
        border-color: #1d753b;
        background: #ebfaf0;
    }

.dark-mode .user-type-card.selected {
    border-color: #45a049;
    background: #0f172a;
}

.user-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.user-type-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #2196F3;
}

.user-type-card h3 {
    margin: 10px 0;
    font-family: var(--headfont);
    color: var(--heading);
    font-size: 20px;
}

.user-type-card p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
}

/* ===== REPEATER ROWS ===== */
.repeater-container {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.dark-mode .repeater-container {
    background: #0f172a;
}

.repeater-row {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dark-mode .repeater-row {
    background: #141f38
}

.repeater-row .row-number {
    color: var(--text);
    min-width: 20px;
    font-size: 14px;
}

.repeater-row .form-control {
    margin-bottom: 0;
}

.btn-remove {
    background: #f44336;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
}

    .btn-remove:hover {
        background: #d32f2f;
    }

.btn-add {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

    .btn-add:hover {
        background: #45a049;
    }

/* ===== NAVIGATION BUTTONS ===== */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.btn-nav {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-previous {
    background: #757575;
    color: white;
}

    .btn-previous:hover {
        background: #616161;
    }

.btn-next {
    background-color: #FFB95C;
    border: 1px solid #FFB95C;
    color: #0f172a;
}

    .btn-next:hover {
        border: 1px solid #E89A39;
        background-color: #E89A39;
        color: #fff;
    }

.dark-mode .btn-next {
    background-color: #22c55e;
    border: 1px solid #22c55e;
    color: #fff;
}

    .dark-mode .btn-next:hover {
        background-color: #1d753b;
        border: 1px solid #1d753b;
    }

.btn-submit {
    background: #4CAF50;
    color: white;
}

    .btn-submit:hover {
        background: #45a049;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
    }

    .user-type-selection {
        flex-direction: column;
    }

    .repeater-row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    background: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

    .success-message.show {
        display: block;
    }

/* Instant validation error styling */
.instant-error {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error field highlighting */
input.form-control.error {
    border: 2px solid #f44336 !important;
    background-color: #ffebee !important;
}

/* Success field highlighting - optional */
input.form-control.success {
    border: 2px solid #4caf50 !important;
    background-color: #e8f5e9 !important;
}

.reg-form-h1 {
    font-family: var(--headfont);
    color: var(--heading);
    font-size: 37px;
    line-height: 35px;
    margin: 0px 0px 15px;
}

.dark-mode .reg-form-h1 {
    color: #FFB95C;
}

.reg-form-h2 {
    color: #666;
    font-size: 16px;
    line-height: 18px;
    margin: 0px;
}

.dark-mode .reg-form-h2 {
    color: #4ade80;
}

.reg-form-h3 {
    font-family: var(--headfont);
    color: #028174;
    font-size: 22px;
    line-height: 20px;
    margin: 20px 0px 0px;
}

.dark-mode .reg-form-h3 {
    color: #ffffff;
}

.reg-form-h4 {
    color: #1d753b;
    font-size: 22px;
    margin: 30px 0 20px 0;
    line-height:24px;
}
    .reg-form-h4 span{
        color:#f44336;
        font-size:13px;
    }
    .dark-mode .reg-form-h4 {
        color: #FFB95C;
    }

.role-text-div {
    text-align: center;
    background: #ebfaf0;
    padding: 10px;
    border-radius: 30px;
    margin: 20px 30px;
}

.dark-mode .role-text-div {
    background: #0f172a;
}

    .dark-mode .role-text-div span {
        color: #FFB95C;
    }

.txtbx-repeater {
    font-size: 14px;
}

.form-captcha-div {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: inline-block;
}

.form-captcha-inside {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-captcha {
    background: #fff;
    padding: 15px 25px;
    border: 2px dashed #028174;
    border-radius: 4px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    color: #333;
    user-select: none;
}

.btn-captcha {
    background: #028174;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
}

.form-txtbx-captcha {
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    padding: 10px !important;
    max-width: 250px !important;
    font-size: 16px !important;
    margin-bottom: 15px !important;
}
/*Media query*/
/* Large desktop and laptops*/
@media (min-width: 1200px) {
}

/* Landscape tablets and medium desktops*/
@media (min-width: 992px) and (max-width: 1199px) {
}

/* medium tablets and medium laptop*/
@media (min-width: 768px) and (max-width: 991px) {
    .tab-navigation {
        margin-bottom: 15px;
    }

    .reg-form-h1 {
        font-size: 30px;
    }

    .reg-form-h2 {
        font-size: 20px;
    }

    .reg-form-h3 {
        font-size: 18px;
    }

    .reg-form-h4 {
        font-size: 18px;
        margin: 0px 0 20px 0;
    }
}

/* portrait tablets and small desktops*/
@media (max-width: 767px) {
    .tab-navigation {
        margin-bottom: 15px;
    }

    .reg-form-h1 {
        font-size: 22px;
        margin: 0px 0px 10px;
    }

    .reg-form-h2 {
        font-size: 18px;
        margin: 0px 0px 10px;
    }

    .reg-form-h3 {
        font-size: 16px;
        margin: 20px 0px 0px 0px;
    }

    .form-terms h4 {
        margin: 0px 0px 10px;
        font-size: 17px;
    }

    .form-terms h6 {
        font-size: 15px;
    }

    .reg-form-h4 {
        font-size: 16px;
        margin: 0px 0 15px 0;
    }

    .user-type-card {
        min-width: 100%;
        max-width: 300px;
        padding: 15px;
    }

        .user-type-card h3 {
            font-size: 18px;
        }

        .user-type-card .icon {
            font-size: 30px;
        }
}

/* Mobile and small Phones*/
@media (max-width: 480px) {
}
/*Media query*/
