/* ========================================
   BEWERBUNG - Application Form Styles
   Premium Design - Green Theme
   ======================================== */

/* General Hidden Class */
.hidden,
.bewerbung-page .hidden {
    display: none !important;
}

/* Page Reset - No sidebar */
.bewerbung-page {
    padding-left: 0 !important;
    background: linear-gradient(180deg, #0a0c10 0%, #12161f 50%, #0a0c10 100%);
    min-height: 100vh;
}

.bewerbung-page .sidebar {
    display: none !important;
}

/* ========================================
   HEADER
   ======================================== */
.bewerbung-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.98) 0%, rgba(10, 12, 16, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bewerbung-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent);
}

.bewerbung-page .header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bewerbung-page .header-logos {
    display: flex;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bewerbung-page .header-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.bewerbung-page .header-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.5));
}

.bewerbung-page .header-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bewerbung-page .brand-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bewerbung-page .brand-subtitle {
    font-size: 0.7rem;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Home Button */
.bewerbung-page .home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bewerbung-page .home-btn:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.bewerbung-page .home-btn i {
    font-size: 1.1rem;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.bewerbung-page .bewerbung-main {
    padding-top: 80px;
    min-height: 100vh;
}

/* ========================================
   HERO SECTION
   ======================================== */
.bewerbung-page .hero,
.bewerbung-page .bewerbung-hero {
    position: relative;
    background: linear-gradient(135deg, #081a0b 0%, #0f2a14 30%, #081a0b 60%, #050f07 100%) !important;
    padding: 80px 32px 100px !important;
    text-align: center !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Animated Background Pattern */
.bewerbung-page .bewerbung-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(34, 197, 94, 0.1) 0%, transparent 40%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Grid Pattern Overlay */
.bewerbung-page .bewerbung-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.bewerbung-page .hero-content {
    position: relative;
    z-index: 1;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.bewerbung-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(34, 197, 94, 0.1) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 auto 24px auto;
    box-shadow: 
        0 0 20px rgba(34, 197, 94, 0.2),
        inset 0 0 20px rgba(34, 197, 94, 0.05);
}

.bewerbung-page .bewerbung-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(34, 197, 94, 0.3);
    letter-spacing: 1px;
    text-align: center !important;
}

.bewerbung-page .bewerbung-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
    text-align: center !important;
}

/* ========================================
   FORM SECTION
   ======================================== */
.bewerbung-section {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    max-width: 1100px;
    margin: -40px auto 0;
    padding: 0 32px 60px;
    position: relative;
    z-index: 2;
}

.bewerbung-page .form-section {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    max-width: 1100px;
    margin: -40px auto 0 !important;
    padding: 0 32px 60px;
    position: relative;
    z-index: 2;
}

/* ========================================
   FORM CARD OVERRIDES
   ======================================== */
.bewerbung-page .form-card {
    background: linear-gradient(180deg, rgba(20, 24, 32, 0.95) 0%, rgba(15, 18, 25, 0.98) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.bewerbung-page .form-header {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

/* Application Icon */
.application-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.2) 100%) !important;
    color: #22c55e !important;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

/* Textarea */
.application-textarea {
    min-height: 120px;
}

/* Submit Button */
.application-submit {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
}

.application-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.application-submit:hover::before {
    left: 100%;
}

.application-submit:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%) !important;
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(34, 197, 94, 0.4),
        0 0 0 1px rgba(34, 197, 94, 0.5);
}

/* ========================================
   FORM INPUTS OVERRIDE
   ======================================== */
.bewerbung-page .form-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bewerbung-page .form-input:focus {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.bewerbung-page .form-label i {
    color: #22c55e;
}

/* Radio Boxes */
.bewerbung-page .radio-option input:checked + .radio-box {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

/* ========================================
   INFO CARD
   ======================================== */
.application-info {
    background: linear-gradient(180deg, rgba(20, 24, 32, 0.95) 0%, rgba(15, 18, 25, 0.98) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.application-info .info-header {
    color: #fff;
}

.application-info .info-header i {
    color: #22c55e;
}

.application-info .info-list li i {
    color: #22c55e;
}

/* Info Box (Tip) */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 12px;
}

.info-box i {
    color: #22c55e;
    font-size: 1.2rem;
    margin-top: 2px;
}

.info-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-box strong {
    color: #22c55e;
}

/* Required indicator */
.bewerbung-page .required {
    color: #22c55e;
}

/* ========================================
   FOOTER
   ======================================== */
.bewerbung-footer {
    margin-left: 0;
    background: rgba(10, 12, 16, 0.95);
    border-top: 1px solid rgba(34, 197, 94, 0.1);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .bewerbung-section,
    .bewerbung-page .form-section {
        grid-template-columns: 1fr;
    }
    
    .application-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .bewerbung-page .bewerbung-hero {
        padding: 60px 20px 80px !important;
    }
    
    .bewerbung-page .bewerbung-hero h1 {
        font-size: 2.25rem;
    }
    
    .bewerbung-section {
        margin-top: -30px;
        padding: 0 20px 40px;
    }
    
    .bewerbung-page .form-section {
        padding: 0 20px 40px;
    }
    
    .bewerbung-page .header-content {
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .bewerbung-header {
        height: 70px;
        padding: 0 12px;
    }
    
    .bewerbung-page .header-logos {
        padding: 6px 12px;
    }
    
    .bewerbung-page .header-logo {
        width: 36px;
        height: 36px;
    }
    
    .bewerbung-page .brand-title {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .bewerbung-page .brand-subtitle {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }
    
    .bewerbung-page .bewerbung-main {
        padding-top: 70px;
    }
    
    .bewerbung-page .bewerbung-hero {
        padding: 50px 16px 70px !important;
    }
    
    .bewerbung-page .bewerbung-hero h1 {
        font-size: 1.75rem;
    }
    
    .bewerbung-page .bewerbung-hero p {
        font-size: 0.95rem;
    }
    
    .bewerbung-section {
        padding: 0 16px 30px;
    }
    
    .bewerbung-page .form-section {
        padding: 0 16px 30px;
    }
    
    .bewerbung-page .radio-group {
        grid-template-columns: 1fr;
    }
    
    .bewerbung-page .header-content {
        gap: 8px;
    }
    
    .bewerbung-page .header-brand {
        display: none;
    }
}
