:root {
    --primary-color: #00A67F;
    --saudi-green:  #008f6c;
    --saudi-flag-green: #00bf92;
    --saudi-flag-white: #FFFFFF;
}
.auth-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.auth-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
}
.auth-card {
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, #00A67F 0%, #008f6c 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    position: relative;
}
.auth-header::before {
    content: "🇸🇦";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 166, 127, 0.25);
}
.btn-saudi {
    background: linear-gradient(135deg, #00A67F 0%, #008f6c 100%);
    color: white;
    position: relative;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
}
.btn-saudi::after {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.btn-saudi:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 100, 0, 0.3);
}
.national-id-input {
    direction: ltr;
    text-align: right;
}
.absher-btn {
    background-color: #2D6DA3;
    color: white;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.absher-btn img {
    width: 20px;
    height: 20px;
}
.saudi-law-notice {
    text-align: center;
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 1rem;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}
.is-invalid {
    border-color: #dc3545 !important;
}
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
.validation-icon {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
    display: none;
}
.form-control.is-valid ~ .validation-icon {
    display: block;
}
.form-group, .input-group {
    position: relative;
}
.phone-group .validation-icon {
    right: 70px;
}
.input-hint {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}
.form-control:focus ~ .input-hint {
    display: block;
}
.password-requirements {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}
.password-requirements ul {
    margin-bottom: 0;
    padding-left: 20px;
}
.requirement {
    color: #6c757d;
}
.requirement.valid {
    color: #28a745;
}
.requirement.valid::before {
    content: "✓ ";
}
.requirement.invalid::before {
    content: "✗ ";
}
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}
.password-toggle:hover {
    color: #000;
}
.password-field {
    padding-right: 35px;
}
.form-control.is-invalid ~ .input-hint {
    display: block;
    color: #dc3545;
}
.features-section {
    padding: 2rem;
    background: linear-gradient(135deg,  #00A67F 0%, #008f6c 100%);
    border-radius: 15px;
    height: 100%;
    min-height: 500px;
}
.features-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}
.feature-item {
    margin-bottom: 1.5rem;
}
.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 1rem;
}
.feature-text {
    font-size: 1.1rem;
    line-height: 1.4;
}
/* RTL Specific Styles */
body[dir="rtl"] .feature-icon {
    margin-right: 0;
    margin-left: 1rem;
}
@media (max-width: 768px) {
    .features-section {
        margin-bottom: 2rem;
    }
}

/* Features Image Section Styles */
.features-image-section {
    position: relative;
    height: 100%;
    min-height: 600px;
    border-radius: 15px;
    overflow: hidden;
}

.features-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('/assets/images/saudi-man.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.features-image-section .background-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/assets/images/15.jpg'); /* أو رابط الصورة التي أرفقتها */
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.features-image-section-company .background-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/assets/images/17.aspx'); /* أو رابط الصورة التي أرفقتها */
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.features-image-section-lawyer .background-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/assets/images/15.jpg'); /* أو رابط الصورة التي أرفقتها */
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.features-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #383f3dcc 0%, #008f6b13 100%);
    z-index: 2;
}

.features-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
}

.features-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    color: white;
}

.feature-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-left: 1rem;
}

.feature-text {
    font-size: 1.1rem;
    line-height: 1.4;
    color: white;
}

@media (max-width: 768px) {
    .features-image-section {
        min-height: 400px;
        margin-top: 2rem;
    }
}

.auth-section {
    background: url('{{ asset("assets/images/saudi-pattern.png") }}') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}
.auth-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
}
.auth-card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
}
.auth-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--saudi-flag-green), var(--saudi-flag-white));
}
.auth-header {
    background: linear-gradient(135deg, var(--primary-color), var(--saudi-green));
    color: white;
    border-radius: 15px 15px 0 0;
    position: relative;
}
.auth-header::before {
    content: "🇸🇦";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 166, 127, 0.25);
}
.btn-saudi {
    background-color: var(--saudi-green);
    color: white;
    position: relative;
    overflow: hidden;
}
.btn-saudi::after {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.saudi-law-notice {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}
.is-invalid {
    border-color: #dc3545 !important;
}
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
.validation-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #00A67F;
    font-size: 1.2rem;
    display: none;
}
.form-control.is-valid ~ .validation-icon {
    display: block;
}
.form-group, .input-group {
    position: relative;
}
.phone-group .validation-icon {
    right: 70px;
}
.input-hint {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: none;
}
.form-control:focus ~ .input-hint {
    display: block;
}
.password-requirements {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    margin-top: 5px;
    display: none;
}
.password-requirements ul {
    margin-bottom: 0;
    padding-right: 20px;
}
.requirement {
    color: #6c757d;
}
.requirement.valid {
    color: #00A67F;
}
.requirement.valid::before {
    content: "✓ ";
}
.requirement.invalid::before {
    content: "✗ ";
}
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}
.password-toggle:hover {
    color: #000;
}
.password-field {
    padding-right: 35px;
}
.form-control.is-invalid ~ .input-hint {
    display: block;
    color: #dc3545;
}
