/* ============================================
   Employer Profile Creation Page Styles
   RTL-optimized, Modern Design
   ============================================ */

* {
    box-sizing: border-box;
}

body.rtl {
    direction: rtl;
}

/* ============================================
   MAIN WRAPPER & CARD
   ============================================ */

.employer-profile-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.employer-profile-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

/* ============================================
   HEADER & TITLE
   ============================================ */

.ep-title {
    color: #111928;
    text-align: right;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    margin: 0 0 16px 0;
}

.ep-divider {
    width: 100%;
    height: 1px;
    background: #E5E7EB;
    margin: 16px 0;
}

.ep-subtitle {
    color: #6B7280;
    text-align: right;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0 0 32px 0;
}

/* ============================================
   FORM STYLES
   ============================================ */

.ep-form {
    margin-bottom: 32px;
}

/* Form Row - Two columns */
.ep-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

/* Form Field */
.ep-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

/* Label */
.ep-form-field label {
    display: block;
    color: #111928;
    text-align: right;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 8px;
}

.ep-form-field label .required {
    color: #DC2626;
    margin-right: 2px;
}

/* Input Fields */
.ep-input {
    display: flex;
    width: 100%;
    padding: 12px 16px;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #F9FAFB;
    color: #111928;
    text-align: right;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    transition: all 0.2s ease;
}

.ep-input:focus {
    outline: none;
    border-color: #0a66c2;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.ep-input::placeholder {
    color: #9CA3AF;
}

/* Email and phone inputs (LTR) */
.ep-input[type="email"],
.ep-input[type="tel"] {
    text-align: left;
    direction: ltr;
}

/* ============================================
   ACTION BUTTONS
   ============================================ */

.ep-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.ep-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    font-family: "Noto Sans", Arial, sans-serif;
}

.ep-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ep-btn-primary {
    background: #0a66c2;
    color: #fff;
    border: 2px solid #0a66c2;
    min-width: 120px;
}

.ep-btn-primary:hover:not(:disabled) {
    background: #084d94;
    border-color: #084d94;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.ep-btn-secondary {
    background: #fff;
    color: #0a66c2;
    border: 2px solid #0a66c2;
}

.ep-btn-secondary:hover:not(:disabled) {
    background: #f0f7ff;
}

/* ============================================
   SUCCESS & ERROR MESSAGES
   ============================================ */

.ep-success-message,
.ep-error-message {
    display: none;
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: slideDown 0.3s ease;
}

.ep-success-message.visible,
.ep-error-message.visible {
    display: block;
}

.ep-success-message {
    background: #D1FAE5;
    border: 2px solid #10B981;
    color: #065F46;
}

.ep-error-message {
    background: #FEE2E2;
    border: 2px solid #DC2626;
    color: #991B1B;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   EMAIL VERIFICATION SCREEN
   ============================================ */

.ep-verification-content {
    padding: 40px 0;
}

.ep-verification-text {
    color: #111928;
    text-align: right;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin: 0 0 32px 0;
}

.ep-verification-hint {
    color: #111928;
    text-align: right;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin: 0;
}

.ep-resend-link {
    color: #3B82F6;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ep-resend-link:hover {
    color: #2563EB;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .employer-profile-wrapper {
        padding: 0 16px;
        margin: 20px auto;
    }
    
    .employer-profile-card {
        padding: 24px;
    }
    
    .ep-title {
        font-size: 16px;
        line-height: 24px;
    }
    
    .ep-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .ep-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ep-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .employer-profile-card {
        padding: 20px;
        border-radius: 8px;
    }
    
    .ep-subtitle {
        font-size: 13px;
    }
    
    .ep-input {
        font-size: 13px;
        padding: 10px 14px;
    }
}

/* ============================================
   STAGE 2: PROGRESS BAR (for future use)
   Will be similar to onboarding progress bar
   ============================================ */

.ep-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 20px;
    position: relative;
}

.ep-progress::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 0;
    left: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.ep-progress-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    flex: 1;
}

.ep-progress-step.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.ep-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #999;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.ep-progress-step.completed .ep-step-circle {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}

.ep-progress-step.active .ep-step-circle {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.2);
}

.ep-step-label {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-top: 4px;
    white-space: nowrap;
}

.ep-progress-step.active .ep-step-label {
    color: #0a66c2;
    font-weight: 600;
}

.ep-progress-step.completed .ep-step-label {
    color: #4caf50;
    font-weight: 600;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mt-24 {
    margin-top: 24px;
}
