@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&display=swap');

:root {
    --kmt-primary: #e85c13;
    --kmt-primary-dark: #c24607;
    --kmt-primary-light: #fff2eb;
    --kmt-secondary: #1e293b;
    --kmt-text: #2d3748;
    --kmt-gray-bg: #f8fafc;
    --kmt-border: #e2e8f0;
}

* {
    font-family: 'El Messiri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

body {
    background-color: var(--kmt-gray-bg);
    color: var(--kmt-text);
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    line-height: 1.6;
}

h1, .h1 { font-size: 1.75rem; }
h2, .h2 { font-size: 1.4rem; }
h3, .h3 { font-size: 1.2rem; }
h4, .h4 { font-size: 1.05rem; }
h5, .h5 { font-size: 0.95rem; }

/* Navbar */
.navbar-kmt {
    background: #ffffff;
    border-bottom: 2px solid var(--kmt-primary-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.brand-logo {
    height: 52px;
    object-fit: contain;
}

.brand-text {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--kmt-secondary);
}
.brand-text span {
    color: var(--kmt-primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 70px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(232, 92, 19, 0.15);
    border-radius: 50%;
    filter: blur(40px);
}

.hero-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #ffffff;
    line-height: 1.4;
}
.hero-subtitle {
    font-size: 0.98rem;
    color: #cbd5e1;
    max-width: 820px;
    line-height: 1.8;
}

/* Buttons */
.btn-kmt {
    background-color: var(--kmt-primary);
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.btn-kmt:hover, .btn-kmt:focus {
    background-color: var(--kmt-primary-dark);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(232, 92, 19, 0.35);
    transform: translateY(-1px);
}

.btn-kmt-outline {
    background: transparent;
    color: var(--kmt-primary);
    border: 2px solid var(--kmt-primary);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.btn-kmt-outline:hover {
    background-color: var(--kmt-primary);
    color: #ffffff;
}

/* Cards */
.custom-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--kmt-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.custom-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Job Cards */
.job-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--kmt-border);
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.25s ease;
}
.job-card:hover {
    border-color: var(--kmt-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232, 92, 19, 0.08);
}
.job-badge {
    background: var(--kmt-primary-light);
    color: var(--kmt-primary-dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 50px;
}

/* Multi-Step Wizard */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    padding: 0 10px;
}
.wizard-step {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: default;
}
.wizard-step .step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}
.wizard-step.active .step-circle {
    background: var(--kmt-primary);
    color: #ffffff;
    box-shadow: 0 0 0 5px var(--kmt-primary-light);
}
.wizard-step.completed .step-circle {
    background: #10b981;
    color: #ffffff;
}
.wizard-step .step-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
}
.wizard-step.active .step-label {
    color: var(--kmt-primary);
    font-weight: 700;
}
.wizard-step.completed .step-label {
    color: #10b981;
}

/* Form Styles */
.form-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--kmt-secondary);
    border-right: 4px solid var(--kmt-primary);
    padding-right: 12px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
}
.form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    font-size: 0.93rem;
}
.form-control, .form-select {
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    padding: 9px 14px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--kmt-primary);
    box-shadow: 0 0 0 3px rgba(232, 92, 19, 0.18);
}

.table-custom th {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    vertical-align: middle;
}
.table-custom td {
    vertical-align: middle;
}

/* File Upload Box */
.upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.25s ease;
}
.upload-box:hover, .upload-box.dragover {
    border-color: var(--kmt-primary);
    background: var(--kmt-primary-light);
}
.upload-icon {
    font-size: 40px;
    color: var(--kmt-primary);
    margin-bottom: 10px;
}

/* Footer */
footer {
    margin-top: auto;
    background: #0f172a;
    color: #94a3b8;
    padding: 30px 0 20px 0;
    border-top: 3px solid var(--kmt-primary);
}
footer a {
    color: #e2e8f0;
    text-decoration: none;
}
footer a:hover {
    color: var(--kmt-primary);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
}
