/* WP Application Online - Premium Frontend Styles v1.3.0 */

:root {
    --wpao-primary: #4f46e5;
    --wpao-primary-hover: #4338ca;
    --wpao-success: #10b981;
    --wpao-text-main: #1f2937;
    --wpao-text-muted: #6b7280;
    --wpao-bg-card: #ffffff;
    --wpao-border: #e5e7eb;
    --wpao-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --wpao-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* General Container */
.wpao-jobs-container, .wpao-form-container {
    max-width: 1000px;
    margin: 40px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Job Listing Cards */
.wpao-jobs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.wpao-job-card {
    background: var(--wpao-bg-card);
    border: 1px solid var(--wpao-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--wpao-shadow);
}

.wpao-job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wpao-shadow-lg);
    border-color: var(--wpao-primary);
}

.wpao-job-content { padding: 32px; }

.wpao-job-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--wpao-text-main);
    margin: 0 0 16px 0;
}

.wpao-job-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.wpao-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wpao-text-muted);
}

.wpao-meta-item i { font-size: 16px; color: var(--wpao-primary); }
.wpao-meta-item.wpao-expiry { background: #fef2f2; color: #dc2626; }
.wpao-meta-item.wpao-expiry i { color: #dc2626; }

.wpao-desc-section { margin-top: 24px; }
.wpao-desc-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--wpao-text-main);
}
.wpao-desc-section ul { padding-left: 20px; margin-bottom: 0; }
.wpao-desc-section li { margin-bottom: 8px; color: #4b5563; }

/* Stylish Application Form */
.wpao-form-card {
    background: white;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--wpao-shadow-lg);
}

.wpao-applying-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 48px;
    color: white;
    text-align: center;
}

.wpao-applying-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0.9;
    display: block;
    margin-bottom: 8px;
}

.wpao-applying-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: white !important;
}

.wpao-applying-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}

.wpao-applying-meta span { display: flex; align-items: center; gap: 6px; }

.wpao-step { padding: 48px; }

/* Step Indicator */
.wpao-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.wpao-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #9ca3af;
    font-size: 14px;
}

.wpao-step-dot.active { background: var(--wpao-primary); color: white; }
.wpao-step-dot.completed { background: var(--wpao-success); color: white; }

.wpao-step-line {
    height: 2px;
    width: 40px;
    background: #e5e7eb;
    margin: 0 8px;
}

.wpao-step-line.active { background: var(--wpao-primary); }
.wpao-step-line.completed { background: var(--wpao-success); }

/* Form Elements */
.wpao-form-group { margin-bottom: 24px; }
.wpao-form-group label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--wpao-text-main);
}

.wpao-input-with-icon { position: relative; }
.wpao-input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wpao-text-muted);
}

.wpao-input-with-icon input { padding-left: 48px !important; }

.wpao-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    font-size: 16px;
    background: #f9fafb;
    transition: all 0.2s;
}

input:focus, textarea:focus {
    background: white;
    border-color: var(--wpao-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.wpao-file-upload {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.wpao-file-upload:hover { border-color: var(--wpao-primary); background: #f5f3ff; }
.wpao-file-upload i { font-size: 32px; color: var(--wpao-primary); margin-bottom: 12px; display: block; }
.wpao-file-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Buttons */
.wpao-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wpao-btn-primary { background: var(--wpao-primary); color: white !important; width: 100%; }
.wpao-btn-primary:hover { background: var(--wpao-primary-hover); transform: translateY(-1px); }

.wpao-btn-link { background: none; color: var(--wpao-text-muted); font-size: 14px; }
.wpao-btn-link:hover { color: var(--wpao-text-main); }

.wpao-form-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

/* Success State */
.wpao-success-icon {
    width: 80px;
    height: 80px;
    background: #ecfdf5;
    color: var(--wpao-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.wpao-success-icon i { font-size: 48px; }

/* Responsive */
@media (max-width: 640px) {
    .wpao-form-row { grid-template-columns: 1fr; }
    .wpao-applying-header { padding: 32px 24px; }
    .wpao-step { padding: 32px 24px; }
    .wpao-job-footer { flex-direction: column; align-items: flex-start; }
}
