/* Toborzás oldal CSS - Recruitment form styling */

/* === UTILITY CLASSES === */
.hidden {
    display: none !important;
}

.text-success {
    color: #28a745 !important;
}

/* === ALAP BEÁLLÍTÁSOK === */

/* Body reset */
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

/* DEBUG: Box-sizing javítás */
* {
    box-sizing: border-box !important;
}

.toborzas-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    color: #e0e6ed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    margin-top: -60px;
    padding: 0;
    padding-top: 80px;
    position: relative;
}

/* === CÍM SZEKCIÓ === */
.page-title-section {
    background: linear-gradient(135deg, rgba(12, 20, 69, 0.9), rgba(26, 26, 46, 0.8));
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding: 40px 0;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.title-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.title-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    font-weight: 300;
    letter-spacing: 1px;
}

/* === RECRUITMENT FORM === */
.recruitment-form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.form-container {
    background: rgba(42, 42, 42, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.form-header h2 {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-header h2 i {
    margin-right: 10px;
    color: #ffd700;
}

.form-header p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin: 0;
}

/* === FORM GROUPS === */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group label i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    color: #e0e6ed;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(224, 230, 237, 0.6);
}

/* Select specific styling */
.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.form-group select option {
    background: #2a2a2a;
    color: #e0e6ed;
    padding: 10px;
}

/* Textarea specific */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Form help text */
.form-help {
    display: block;
    color: rgba(224, 230, 237, 0.7);
    font-size: 0.9rem;
    margin-top: 5px;
    font-style: italic;
}

/* Checkbox styling */
.checkbox-group {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    color: #e0e6ed;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: #2c2c54;
    border: 2px solid #ffd700;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #ffd700;
    border-color: #ffd700;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2c2c54;
    font-weight: bold;
    font-size: 12px;
}

/* Character counter */
.character-counter {
    margin-top: 8px;
    font-size: 0.9rem;
    text-align: right;
    color: #bbb;
    transition: color 0.3s ease;
}

.character-counter.warning {
    color: #f39c12;
}

.character-counter.success {
    color: #27ae60;
}

.character-counter.error {
    color: #e74c3c;
}

/* Submit button */
.submit-group {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn i {
    margin-right: 10px;
}

/* Loading state */
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.submit-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .toborzas-container {
        padding-top: 90px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .title-icon {
        font-size: 3rem;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .checkbox-label {
        font-size: 0.95rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .form-container {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}