@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors - Professional Legal Theme */
    --primary: #1a237e;
    --primary-light: #3949ab;
    --primary-dark: #0d1642;
    --accent: #c9a961;
    --accent-light: #d4b876;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    direction: rtl;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

/* ================================
   FRONT PAGE HERO SECTION
   ================================ */
.ld-hero {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.ld-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.ld-hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,.05) 20px, rgba(255,255,255,.05) 40px);
}

.ld-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.ld-hero-title {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero Image Slider */
.ld-hero-slider {
    max-width: 800px;
    margin: 30px auto 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.ld-slider-container {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ld-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.ld-slide.active {
    opacity: 1;
}

.ld-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ld-slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.ld-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ld-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.ld-dot.active {
    background: var(--accent);
    border-color: white;
    transform: scale(1.3);
}

.ld-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.ld-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: 'Tajawal', sans-serif;
    position: relative;
    overflow: hidden;
}

.ld-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ld-btn:hover::before {
    width: 300px;
    height: 300px;
}

.ld-btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(201, 169, 97, 0.4);
}

.ld-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
}

.ld-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ld-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ================================
   FEATURES SECTION
   ================================ */
.ld-features {
    padding: 100px 20px;
    background: var(--bg-white);
    position: relative;
}

.ld-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.ld-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ld-section-title {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.ld-section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.15rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ld-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.ld-feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ld-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ld-feature-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.ld-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.ld-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.ld-feature-card:hover .ld-feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.ld-feature-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.ld-feature-desc {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ================================
   ONBOARDING FORM - ENHANCED
   ================================ */
#ld-onboard {
    max-width: 700px;
    margin: 60px auto;
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    animation: slideInUp 0.6s ease-out;
}

.ld-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.ld-form-header h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.ld-form-header p {
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* Progress Bar */
.ld-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

.ld-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.ld-progress-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.ld-progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-gray);
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.ld-progress-step.active .ld-progress-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.ld-progress-step.completed .ld-progress-circle {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.ld-progress-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
    text-align: center;
}

.ld-progress-step.active .ld-progress-label {
    color: var(--primary);
    font-weight: 700;
}

/* Form Steps */
.ld-step {
    animation: fadeIn 0.5s ease-out;
}

.ld-step h3 {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.ld-form-group {
    margin-bottom: 24px;
}

.ld-form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.ld-step input[type="text"],
.ld-step input[type="email"],
.ld-step input[type="password"],
.ld-step input[type="number"],
.ld-step select,
.ld-step textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
    min-height: 52px;
}

.ld-step input:focus,
.ld-step select:focus,
.ld-step textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

.ld-step input::placeholder {
    color: #94a3b8;
}

/* Password Toggle */
.ld-password-wrap {
    position: relative;
    display: block;
    margin: 8px 0;
}

.ld-password-wrap input[type="password"],
.ld-password-wrap input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    padding-left: 55px;
    min-height: 52px;
}

.ld-password-wrap .ld-toggle-pass {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    padding: 8px;
    color: var(--text-gray);
    transition: all 0.2s ease;
    border-radius: 6px;
}

.ld-password-wrap .ld-toggle-pass:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.ld-password-wrap .ld-toggle-pass:focus {
    outline: 2px solid var(--primary);
}

/* Checkboxes */
#ld_specialties {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

#ld_specialties label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

#ld_specialties label:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

#ld_specialties input[type="checkbox"] {
    margin-left: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#ld_specialties input[type="checkbox"]:checked + span {
    color: var(--primary);
    font-weight: 700;
}

/* File Upload */
input[type="file"] {
    padding: 20px;
    border: 2px dashed var(--border);
    border-radius: 10px;
    cursor: pointer;
    background: var(--bg-light);
    transition: all 0.3s ease;
    width: 100%;
}

input[type="file"]:hover {
    border-color: var(--primary);
    background: white;
}

/* Buttons */
.ld-step button {
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    margin: 8px 6px;
}

.ld-next,
#ld-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.ld-next:hover,
#ld-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 35, 126, 0.4);
}

.ld-prev {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border);
}

.ld-prev:hover {
    background: white;
    border-color: var(--primary);
}

/* Success/Error Messages */
.ld-result {
    text-align: center;
    padding: 40px;
    animation: fadeIn 0.5s ease-out;
}

.ld-result.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 16px;
    padding: 50px 40px;
}

.ld-result.success h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

/* ================================
   SEARCH SECTION
   ================================ */
#ld-search {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.ld-search-container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.ld-search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

#ld-search select,
#ld-search input[type="text"] {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

#ld-search select:focus,
#ld-search input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

#ld-search-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

#ld-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4);
}

/* Search Results */
#ld-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.ld-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.ld-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.ld-item h4 {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.ld-item p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 8px;
}

.ld-item .approved-badge {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
}

.ld-item .pending-badge {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll reveal animations */
.ld-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.ld-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
    .ld-hero {
        min-height: 70vh;
        padding: 40px 20px;
    }
    
    .ld-hero-title {
        font-size: 2.5rem;
    }
    
    .ld-slider-container {
        height: 250px;
    }
    
    .ld-hero-slider {
        margin: 20px auto 30px;
    }
    
    .ld-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .ld-btn {
        width: 100%;
    }
    
    .ld-features {
        padding: 60px 20px;
    }
    
    .ld-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    #ld-onboard {
        padding: 30px 20px;
        margin: 30px 20px;
    }
    
    .ld-progress-bar {
        flex-wrap: wrap;
    }
    
    .ld-progress-step {
        flex: 0 0 33.333%;
        margin-bottom: 20px;
    }
    
    #ld_specialties {
        grid-template-columns: 1fr;
    }
    
    .ld-search-filters {
        grid-template-columns: 1fr;
    }
    
    #ld-search-results {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ld-hero-title {
        font-size: 2rem;
    }
    
    .ld-slider-container {
        height: 200px;
        border-radius: 12px;
    }
    
    .ld-dot {
        width: 10px;
        height: 10px;
    }
    
    .ld-section-title {
        font-size: 1.8rem;
    }
    
    .ld-form-header h2 {
        font-size: 1.8rem;
    }
    
    .ld-progress-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .ld-progress-label {
        font-size: 0.75rem;
    }
}

/* ================================
   UTILITIES
   ================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ================================
   ACCOUNT TYPE TABS
   ================================ */
.ld-account-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.ld-account-tab {
    background: var(--bg-light);
    border: 3px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.ld-account-tab:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.ld-account-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.ld-tab-icon {
    font-size: 56px;
    margin-bottom: 8px;
}

.ld-account-tab.active .ld-tab-icon {
    animation: bounce 0.6s ease;
}

.ld-tab-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.ld-account-tab.active .ld-tab-title {
    color: white;
}

.ld-tab-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.ld-account-tab.active .ld-tab-desc {
    color: rgba(255, 255, 255, 0.95);
}

/* ================================
   ACCOUNT CONTENT SECTIONS
   ================================ */
.ld-account-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.ld-account-content.active {
    display: block;
}

.ld-form-section h3 {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

/* ================================
   VALIDATION & ERROR MESSAGES
   ================================ */
.ld-error-message {
    display: none;
    color: var(--error);
    font-size: 0.9rem;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    animation: shake 0.3s ease;
}

.ld-error-message.show {
    display: block;
}

.ld-form-group.has-error input,
.ld-form-group.has-error select {
    border-color: var(--error) !important;
}

.ld-form-group.has-error .ld-password-wrap {
    border-color: var(--error) !important;
}

/* Password Strength Indicator */
.ld-password-strength {
    display: none;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.ld-password-strength.show {
    display: block;
}

.ld-password-strength.weak {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.ld-password-strength.medium {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.ld-password-strength.strong {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* Checkbox Labels */
.ld-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ld-checkbox-label:hover {
    background: white;
    border-color: var(--primary-light);
}

.ld-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.ld-checkbox-label input[type="checkbox"]:checked + span {
    color: var(--primary);
    font-weight: 600;
}

/* Submit Button */
.ld-btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ld-btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ld-btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.ld-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.4);
}

.ld-btn-submit:active {
    transform: translateY(0);
}

/* Loading State */
.ld-btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.ld-btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    right: 20px;
    margin-top: -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

/* ================================
   RESPONSIVE - TABS
   ================================ */
@media (max-width: 768px) {
    .ld-account-tabs {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ld-account-tab {
        padding: 24px 20px;
    }

    .ld-tab-icon {
        font-size: 48px;
    }

    .ld-tab-title {
        font-size: 1.3rem;
    }

    .ld-form-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ld-account-tab {
        padding: 20px 16px;
    }

    .ld-tab-icon {
        font-size: 40px;
    }

    .ld-tab-title {
        font-size: 1.2rem;
    }

    .ld-tab-desc {
        font-size: 0.85rem;
    }
}

/* Client Form Input Styling */
.ld-client-form input[type="text"],
.ld-client-form input[type="email"],
.ld-client-form input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
    min-height: 52px;
}

.ld-client-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

.ld-client-form .ld-password-wrap input[type="password"],
.ld-client-form .ld-password-wrap input[type="text"] {
    padding: 16px 20px;
    padding-left: 55px;
    min-height: 52px;
}

/* Eye Icon Styling */
.ld-toggle-pass {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: all 0.3s ease;
}

.ld-toggle-pass:hover {
    opacity: 0.7;
}

.eye-icon {
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.ld-toggle-pass:hover .eye-icon {
    color: var(--primary);
}
