﻿

.btn-outline {
    border: 2px solid var(--primary);
    background: transparent;
    padding: 8px 24px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

    .btn-outline:hover {
        background: var(--primary);
        color: white;
    }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
    }

/* Language Dropdown */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: transparent;
    border: 1px solid var(--gray);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--dark);
}

    .language-btn:hover {
        border-color: var(--primary);
        background: var(--light);
    }

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1001;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--dark);
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

    .dropdown-content a:hover {
        background: var(--light);
        color: var(--primary);
        cursor: pointer;
    }

/* Register Container */
.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 60px;
}

.register-wrapper {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Left Side - Info Section */
.register-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .register-info::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 150%;
        height: 150%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.info-header {
    position: relative;
    z-index: 1;
}

    .info-header h2 {
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 15px;
    }

    .info-header p {
        opacity: 0.9;
        line-height: 1.6;
    }

/* Progress Steps */
.progress-steps {
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    opacity: 0.5;
    transition: all 0.3s;
}

    .step-item.active {
        opacity: 1;
    }

    .step-item.completed {
        opacity: 0.8;
    }

.step-number {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-item.active .step-number {
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

.step-item.completed .step-number {
    background: var(--success);
}

.step-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 13px;
    opacity: 0.8;
}

/* Features List */
.features-list {
    list-style: none;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

    .features-list li {
        padding: 10px 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .features-list i {
        font-size: 18px;
        color: var(--secondary);
    }

/* Testimonial */
.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 14px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Right Side - Form Section */
.register-form {
    padding: 50px 40px;
    background: var(--white);
}

.form-header {
    margin-bottom: 30px;
}

    .form-header h2 {
        font-size: 28px;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 8px;
    }

    .form-header p {
        color: var(--gray);
    }

    .form-header a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .form-step.active-step {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.form-group {
    margin-bottom: 22px;
}

    .form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--dark);
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        transition: all 0.3s;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
        }

.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
    }

    .input-icon input,
    .input-icon select,
    .input-icon textarea {
        padding-left: 45px;
    }

/* Row Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    width: 0%;
    height: 100%;
    transition: width 0.3s;
}

.strength-text {
    font-size: 12px;
    color: var(--gray);
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
}

    .checkbox-group input {
        width: 20px;
        height: 20px;
        margin-top: 2px;
        cursor: pointer;
    }

    .checkbox-group label {
        font-size: 14px;
        color: var(--gray);
        line-height: 1.5;
        cursor: pointer;
    }

    .checkbox-group a {
        color: var(--primary);
        text-decoration: none;
    }

/* Form Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.btn-next, .btn-prev, .btn-submit {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-next {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    flex: 1;
}

    .btn-next:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
    }

.btn-prev {
    background: var(--light);
    color: var(--dark);
    border: 1px solid #e2e8f0;
}

    .btn-prev:hover {
        background: #e2e8f0;
    }

.btn-submit {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    flex: 1;
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(52, 211, 153, 0.3);
    }

/* Error & Success Messages */
.error-message {
    background: #fee2e2;
    color: var(--danger);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

.success-message {
    background: #dcfce7;
    color: var(--success);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e2e8f0;
    }

    .divider span {
        background: var(--white);
        padding: 0 15px;
        position: relative;
        color: var(--gray);
        font-size: 14px;
    }

/* Social Login */
.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

    .social-btn:hover {
        border-color: var(--primary);
        background: var(--light);
    }

    .social-btn.google i {
        color: #DB4437;
    }

    .social-btn.apple i {
        color: #000000;
    }



@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

        .nav-links.active {
            display: flex;
        }

    .register-wrapper {
        grid-template-columns: 1fr;
    }

    .register-info {
        display: none;
    }

    .register-form {
        padding: 40px 25px;
    }

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

    .social-login {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* URDU LANGUAGE SPECIFIC STYLES - RTL SUPPORT */
/* FOR MULTI-STEP REGISTRATION PAGE */
/* ============================================ */

/* Urdu Font Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');

/* Main Urdu Container */
#lang-ur {
    font-family: 'Noto Nastaliq Urdu', 'Inter', sans-serif;
    direction: rtl;
    text-align: right;
}

    /* ===== NAVIGATION RTL ===== */
    #lang-ur .nav-links {
        flex-direction: row-reverse;
    }

    #lang-ur .nav-container {
        direction: rtl;
    }

    #lang-ur .logo {
        direction: ltr;
        display: inline-block;
    }

    /* ===== LANGUAGE DROPDOWN RTL ===== */
    #lang-ur .language-dropdown {
        direction: ltr;
    }

    #lang-ur .dropdown-content {
        right: auto;
        left: 0;
    }

    /* ===== REGISTER CONTAINER RTL ===== */
    #lang-ur .register-container {
        direction: rtl;
    }

    #lang-ur .register-wrapper {
        direction: rtl;
    }

    /* ===== LEFT SIDE - INFO SECTION RTL ===== */
    #lang-ur .register-info {
        direction: rtl;
        text-align: right;
    }

    #lang-ur .info-header {
        text-align: right;
    }

        #lang-ur .info-header h2,
        #lang-ur .info-header p {
            text-align: right;
        }

    /* ===== PROGRESS STEPS RTL ===== */
    #lang-ur .progress-steps {
        direction: rtl;
    }

    #lang-ur .step-item {
        flex-direction: row;
        justify-content: flex-start;
    }

    #lang-ur .step-content {
        text-align: right;
    }

        #lang-ur .step-content h4,
        #lang-ur .step-content p {
            text-align: right;
        }

    /* ===== FEATURES LIST RTL ===== */
    #lang-ur .features-list {
        text-align: right;
    }

        #lang-ur .features-list li {
            justify-content: flex-start;
            flex-direction: row;
        }

        #lang-ur .features-list i {
            margin-left: 0;
            margin-right: 0;
        }

    /* ===== TESTIMONIAL RTL ===== */
    #lang-ur .testimonial {
        text-align: right;
    }

    #lang-ur .testimonial-text {
        text-align: right;
    }

    #lang-ur .testimonial-author {
        justify-content: flex-start;
        flex-direction: row;
    }

    #lang-ur .author-avatar {
        margin-left: 0;
        margin-right: 0;
    }

    /* ===== RIGHT SIDE - FORM SECTION RTL ===== */
    #lang-ur .register-form {
        direction: rtl;
        text-align: right;
    }

    #lang-ur .form-header {
        text-align: right;
    }

        #lang-ur .form-header h2,
        #lang-ur .form-header p {
            text-align: right;
        }

/* ===== FORM STEPS ANIMATION RTL ===== */
@keyframes fadeInRTL {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

#lang-ur .form-step.active-step {
    animation: fadeInRTL 0.5s ease;
}

/* ===== FORM GROUPS RTL ===== */
#lang-ur .form-group {
    text-align: right;
}

    #lang-ur .form-group label {
        text-align: right;
        display: block;
    }

/* Input Icons - Move to right side for RTL */
#lang-ur .input-icon i {
    left: auto;
    right: 16px;
}

#lang-ur .input-icon input,
#lang-ur .input-icon select,
#lang-ur .input-icon textarea {
    padding: 12px 45px 12px 16px;
}

/* ===== FORM ROW RTL ===== */
#lang-ur .form-row {
    direction: rtl;
}

/* ===== PASSWORD STRENGTH RTL ===== */
#lang-ur .password-strength {
    text-align: right;
}

#lang-ur .strength-bar {
    direction: ltr;
}

#lang-ur .strength-text {
    text-align: right;
}

/* ===== CHECKBOX GROUP RTL ===== */
#lang-ur .checkbox-group {
    flex-direction: row;
    justify-content: flex-start;
}

    #lang-ur .checkbox-group input {
        margin-left: 0;
        margin-right: 0;
    }

    #lang-ur .checkbox-group label {
        text-align: right;
    }

/* ===== FORM NAVIGATION BUTTONS RTL ===== */
#lang-ur .form-navigation {
    flex-direction: row;
    justify-content: space-between;
}

#lang-ur .btn-next i,
#lang-ur .btn-prev i,
#lang-ur .btn-submit i {
    margin-left: 0;
    margin-right: 8px;
}

/* Reverse prev/next button icons for RTL */
#lang-ur .btn-prev i {
    transform: rotate(180deg);
}

#lang-ur .btn-next i {
    transform: rotate(180deg);
}

/* ===== DIVIDER RTL ===== */
#lang-ur .divider {
    text-align: center;
}

/* ===== SOCIAL LOGIN BUTTONS RTL ===== */
#lang-ur .social-login {
    flex-direction: row;
    gap: 15px;
}

#lang-ur .social-btn {
    flex-direction: row;
}

    #lang-ur .social-btn i {
        margin-left: 0;
        margin-right: 0;
    }

/* ===== ERROR & SUCCESS MESSAGES RTL ===== */
#lang-ur .error-message,
#lang-ur .success-message {
    text-align: center;
}

    #lang-ur .error-message i,
    #lang-ur .success-message i {
        margin-left: 0;
        margin-right: 8px;
    }

/* ===== FOOTER RTL ===== */
#lang-ur .footer {
    direction: rtl;
}

#lang-ur .footer-grid {
    direction: rtl;
}

#lang-ur .footer-col {
    text-align: right;
}

#lang-ur .footer-bottom {
    text-align: center;
}

/* ===== KEEP EMAILS, PHONES LTR ===== */
#lang-ur .footer-col a[href^="mailto:"],
#lang-ur .footer-col a[href^="tel:"] {
    direction: ltr;
    display: inline-block;
}

/* ===== MOBILE RESPONSIVE RTL ===== */
@media (max-width: 768px) {
    #lang-ur .nav-links {
        flex-direction: column;
        text-align: center;
    }

    #lang-ur .dropdown-content {
        left: 50%;
        right: auto;
        transform: translateX(50%);
    }

    #lang-ur .register-wrapper {
        grid-template-columns: 1fr;
    }

    #lang-ur .register-info {
        display: none;
    }

    #lang-ur .register-form {
        padding: 40px 25px;
    }

    #lang-ur .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #lang-ur .social-login {
        flex-direction: column;
    }

    #lang-ur .form-navigation {
        flex-direction: column;
        gap: 10px;
    }

    #lang-ur .footer-grid {
        direction: rtl;
    }

    #lang-ur .footer-col {
        text-align: center;
    }

    #lang-ur .testimonial-author {
        justify-content: center;
    }

    #lang-ur .checkbox-group {
        align-items: flex-start;
    }
}

/* ===== FIX INPUT FOCUS STYLES ===== */
#lang-ur .form-group input:focus,
#lang-ur .form-group select:focus,
#lang-ur .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* ===== FIX CHECKBOX STYLES ===== */
#lang-ur .checkbox-group input {
    margin: 2px 0 0 0;
}

/* ===== FIX SOCIAL BUTTON HOVER ===== */
#lang-ur .social-btn:hover {
    border-color: var(--primary);
    background: var(--light);
}

/* ===== FIX PASSWORD STRENGTH COLORS ===== */
#lang-ur .strength-fill {
    transition: width 0.3s;
}

/* ===== FIX SCROLLBAR FOR RTL (Optional) ===== */
#lang-ur ::-webkit-scrollbar {
    width: 10px;
}

#lang-ur ::-webkit-scrollbar-track {
    background: var(--light);
}

#lang-ur ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

/* ===== FIX DROPDOWN CONTENT POSITION ===== */
#lang-ur .dropdown-content {
    text-align: right;
}

    #lang-ur .dropdown-content a {
        justify-content: flex-start;
    }

/* ===== FIX LANGUAGE BUTTON DROPDOWN ARROW ===== */
#lang-ur .language-btn .fa-chevron-down {
    transform: rotate(0deg);
}

/* ===== FIX FEATURE LIST ICON POSITION ===== */
#lang-ur .features-list li i {
    order: 1;
}

#lang-ur .features-list li span {
    order: 2;
}

/* ===== ENSURE PROPER WORD WRAPPING ===== */
#lang-ur .info-header p,
#lang-ur .features-list li,
#lang-ur .testimonial-text,
#lang-ur .form-group label,
#lang-ur .checkbox-group label,
#lang-ur .step-content p,
#lang-ur .footer-col a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== FIX BUTTON ICONS ===== */
#lang-ur .btn-primary i,
#lang-ur .btn-outline i,
#lang-ur .btn-next i,
#lang-ur .btn-prev i,
#lang-ur .btn-submit i {
    transform: none;
}

/* ===== FIX PLACEHOLDER TEXT ALIGNMENT ===== */
#lang-ur ::placeholder {
    text-align: right;
}

#lang-ur input::placeholder,
#lang-ur select::placeholder,
#lang-ur textarea::placeholder {
    text-align: right;
}

/* ===== FIX SELECT DROPDOWN ARROW FOR RTL ===== */
#lang-ur select {
    background-position: left 16px center;
    padding-right: 16px;
}

/* ===== FIX REGISTER WRAPPER SHADOW ===== */
#lang-ur .register-wrapper {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* ===== FIX INFO SECTION GRADIENT ===== */
#lang-ur .register-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* ===== FIX PROGRESS STEPS ===== */
#lang-ur .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
}

#lang-ur .step-item.active .step-number {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

/* ===== FIX TESTIMONIAL BACKGROUND ===== */
#lang-ur .testimonial {
    background: rgba(255,255,255,0.1);
}

/* ===== FIX AUTHOR AVATAR ===== */
#lang-ur .author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== FIX STRENGTH BAR DIRECTION ===== */
#lang-ur .strength-bar {
    direction: ltr;
}

/* ===== FIX FORM SELECT STYLES ===== */
#lang-ur .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 16px;
}

/* ===== FIX BUTTON HOVER EFFECTS ===== */
#lang-ur .btn-next:hover,
#lang-ur .btn-submit:hover {
    transform: translateY(-2px);
}

#lang-ur .btn-prev:hover {
    background: #e2e8f0;
}

/* ===== FIX RESPONSIVE FORM NAVIGATION ===== */
@media (max-width: 768px) {
    #lang-ur .form-navigation {
        flex-direction: column;
        gap: 12px;
    }

    #lang-ur .btn-next,
    #lang-ur .btn-prev,
    #lang-ur .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ===== FIX STEP ITEM RESPONSIVE ===== */
@media (max-width: 768px) {
    #lang-ur .step-item {
        justify-content: center;
    }

    #lang-ur .step-content {
        text-align: center;
    }
}

/* ===== FIX CHECKBOX GROUP RESPONSIVE ===== */
@media (max-width: 768px) {
    #lang-ur .checkbox-group {
        align-items: flex-start;
    }

        #lang-ur .checkbox-group input {
            margin-top: 2px;
        }
}

/* ===== FIX FORM STEP TRANSITION ===== */
#lang-ur .form-step {
    transition: all 0.3s ease;
}
