/* TPS Recruit — Front Form */
*, *::before, *::after { box-sizing: border-box; }

.tps-recruit-form-wrap {
    max-width: 620px;
    margin: 0 auto;
    font-family: 'Segoe UI', Arial, sans-serif;
    direction: rtl;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
}

/* Header */
.tps-form-header {
    background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 100%);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}
.tps-form-header::before {
    content: '';
    position: absolute;
    top: -40px; left: -40px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.tps-form-header h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    position: relative;
}

/* Form body */
.tps-form-body {
    background: #fff;
    padding: 32px;
}

/* Fields */
.tps-field { margin-bottom: 20px; }
.tps-field > label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 7px;
    letter-spacing: .3px;
}
.tps-field input[type="text"],
.tps-field input[type="tel"],
.tps-field input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    direction: rtl;
    color: #222;
    transition: border-color .2s, box-shadow .2s;
    background: #fafafa;
}
.tps-field input:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42,82,152,.12);
    outline: none;
    background: #fff;
}

/* Licenses */
.tps-field-licenses .tps-licenses-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.tps-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1.5px solid #ddd;
    border-radius: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    background: #fafafa;
    transition: all .15s;
    user-select: none;
}
.tps-checkbox-label:hover {
    border-color: #2a5298;
    background: #f0f4ff;
    color: #1a3a6b;
}
.tps-checkbox-label input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: #2a5298;
    cursor: pointer;
}

/* Divider */
.tps-form-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 24px 0;
}

/* Disclaimer */
.tps-disclaimer {
    background: #f5f7fb;
    border: 1.5px solid #dde3f0;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 24px;
}
.tps-disclaimer .tps-checkbox-label {
    border: none;
    padding: 0;
    border-radius: 0;
    background: none;
    font-size: 13px;
    color: #555;
    font-weight: 400;
}
.tps-disclaimer .tps-checkbox-label:hover { background: none; border: none; }

/* Submit */
.tps-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .5px;
    transition: opacity .2s, transform .1s;
}
.tps-submit-btn:hover { opacity: .92; }
.tps-submit-btn:active { transform: scale(.99); }

/* Messages */
#tps-form-msg {
    padding: 13px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    display: none;
}
#tps-form-msg.success { background: #e8f5e9; color: #2e7d32; border: 1.5px solid #c8e6c9; display: block; }
#tps-form-msg.error   { background: #fdecea; color: #c62828; border: 1.5px solid #f5c6cb; display: block; }
