/* ===== Self-hosted Fonts (DSGVO-konform) ===== */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/Orbitron-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/Orbitron-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/Roboto-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/Roboto-Bold.ttf') format('truetype');
}

:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --neon-orange: #ff5e00;
    --neon-orange-dim: #cc4b00;
    --neon-glow: 0 0 10px rgba(255, 94, 0, 0.7);
    --neon-glow-strong: 0 0 20px rgba(255, 94, 0, 0.9);
    --font-main: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-color);
    /* Ensure base color matches */
}


a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--neon-orange-dim);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 94, 0, 0.1);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 94, 0, 0.4));
    transition: filter 0.3s, transform 0.3s;
}

.logo-img:hover {
    filter: drop-shadow(0 0 14px rgba(255, 94, 0, 0.7));
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand-name span {
    color: var(--neon-orange);
    text-shadow: var(--neon-glow);
}

.slogan {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 300;
    font-style: italic;
    opacity: 0.85;
    animation: sloganPulse 3s ease-in-out infinite;
}

@keyframes sloganPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; text-shadow: 0 0 6px rgba(255, 94, 0, 0.3); }
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav a:hover,
nav a.active {
    color: var(--neon-orange);
    text-shadow: var(--neon-glow);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--neon-orange);
    transition: width var(--transition-speed);
    box-shadow: var(--neon-glow);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
    z-index: 10001;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    padding: 8px 15px;
    font-size: 1rem;
    border: 1px solid var(--neon-orange);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(255, 94, 0, 0.3);
    transition: all 0.3s;
}

.lang-btn:hover {
    background-color: var(--neon-orange);
    color: #000;
    box-shadow: var(--neon-glow);
}

.flag-icon {
    width: 20px;
    height: auto;
    display: block;
}

.lang-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #111;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.9);
    border: 1px solid var(--neon-orange-dim);
    border-radius: 4px;
    overflow: hidden;
    z-index: 2000;
}

.lang-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    padding: 12px 16px;
    text-decoration: none;
    border-bottom: 1px solid #222;
    background-color: #111;
    transition: all 0.2s;
}

.lang-content a:hover {
    background-color: #222;
    color: var(--neon-orange);
    padding-left: 20px;
}

/* Show on hover */
.lang-dropdown:hover .lang-content {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Buttons */

.btn {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--neon-orange);
    color: var(--neon-orange);
    background: transparent;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-speed);
    box-shadow: var(--neon-glow);
    border-radius: 4px;
}

.btn:hover {
    background: var(--neon-orange);
    color: #000;
    box-shadow: var(--neon-glow-strong);
}

/* Main Layout */
main {
    min-height: 80vh;
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a0f00 0%, #000000 100%);
    position: relative;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    height: 340px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(255, 94, 0, 0.4));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0); 
        filter: drop-shadow(0 0 20px rgba(255, 94, 0, 0.4)); 
    }
    50% { 
        transform: translateY(-10px); 
        filter: drop-shadow(0 0 30px rgba(255, 94, 0, 0.6)); 
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--neon-orange);
    text-shadow: var(--neon-glow-strong);
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Sections General */
section {
    padding: 4rem 5%;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

section h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: var(--neon-orange);
    margin: 10px auto 0;
    box-shadow: var(--neon-glow);
}

/* Cards (Services, Values) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border: 1px solid #333;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-orange);
    box-shadow: 0 5px 20px rgba(255, 94, 0, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--neon-orange);
    box-shadow: var(--neon-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: #000;
    padding: 3rem 5%;
    border-top: 1px solid var(--neon-orange-dim);
    text-align: center;
    color: #999;
}

footer p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-slogan {
    color: var(--neon-orange);
    font-family: 'Caveat', cursive;
    font-size: 1.75rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(255, 94, 0, 0.5);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--neon-orange);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-orange);
    box-shadow: var(--neon-glow);
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Legal Pages (Impressum, Datenschutz) */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.legal-content {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    line-height: 1.8;
}

.legal-content h3 {
    color: var(--neon-orange);
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #222;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-list {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-list li {
    margin-bottom: 0.4rem;
}

/* Consent Checkbox */
.consent-group {
    margin-bottom: 1.5rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.consent-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--neon-orange);
    cursor: pointer;
}

/* Footer Legal Links */
.footer-legal {
    margin-bottom: 1rem;
}

.footer-legal a {
    color: var(--text-secondary);
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-legal a:hover {
    color: var(--neon-orange);
    text-shadow: var(--neon-glow);
}

.footer-separator {
    margin: 0 0.8rem;
    color: #555;
}

/* ===== KARRIERE PAGE ===== */

/* Nav CTA Button */
.nav-cta {
    background: var(--neon-orange) !important;
    color: #000 !important;
    padding: 6px 16px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    box-shadow: 0 0 12px rgba(255, 94, 0, 0.4);
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
    text-shadow: none !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta-active {
    box-shadow: var(--neon-glow-strong) !important;
}

/* Karriere Hero */
.karriere-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at center, #1a0f00 0%, #0a0500 40%, #000000 100%);
    position: relative;
    padding: 6rem 20px 4rem;
}

.karriere-hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.karriere-hero h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, var(--neon-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.karriere-hero-line {
    width: 120px;
    height: 3px;
    background: var(--neon-orange);
    margin: 1.5rem auto;
    box-shadow: var(--neon-glow);
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 94, 0, 0.5); width: 120px; }
    50% { box-shadow: 0 0 20px rgba(255, 94, 0, 0.9); width: 160px; }
}

.karriere-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Karriere Benefits */
.karriere-benefits {
    padding: 4rem 5%;
}

.karriere-benefit-card {
    text-align: center;
    padding: 2.5rem 2rem;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.karriere-benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(255, 94, 0, 0.3));
    transition: transform 0.3s;
}

.karriere-benefit-card:hover .benefit-icon {
    transform: scale(1.2);
}

/* Karriere Requirements */
.karriere-requirements {
    padding: 4rem 5%;
}

.karriere-req-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    transition: border-color 0.3s;
}

.karriere-req-card:hover {
    border-color: var(--neon-orange-dim);
}

.karriere-req-list {
    list-style: none;
    padding: 0;
}

.karriere-req-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #1a1a1a;
    color: var(--text-secondary);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s, padding-left 0.3s;
}

.karriere-req-list li:last-child {
    border-bottom: none;
}

.karriere-req-list li:hover {
    color: var(--text-primary);
    padding-left: 8px;
}

.req-icon {
    color: var(--neon-orange);
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: var(--neon-glow);
    min-width: 20px;
}

/* Karriere Form Section */
.karriere-form-section {
    padding: 4rem 5%;
}

.karriere-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.karriere-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

/* Form Select Styling */
.karriere-form select {
    width: 100%;
    padding: 10px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff5e00' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.karriere-form select:focus {
    outline: none;
    border-color: var(--neon-orange);
    box-shadow: var(--neon-glow);
}

.karriere-form select option {
    background: #111;
    color: #fff;
}

/* File Upload Zone */
.file-upload {
    border: 2px dashed #333;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.3);
}

.file-upload:hover,
.file-upload.drag-over {
    border-color: var(--neon-orange);
    background: rgba(255, 94, 0, 0.05);
    box-shadow: inset 0 0 20px rgba(255, 94, 0, 0.1);
}

.file-upload.file-selected {
    border-color: var(--neon-orange);
    border-style: solid;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.file-upload-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 6px rgba(255, 94, 0, 0.3));
}

.file-upload-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.file-upload.file-selected .file-upload-text {
    color: var(--neon-orange);
    font-weight: 500;
}

.file-upload-btn {
    font-size: 0.85rem !important;
    padding: 8px 20px !important;
}

/* Submit Button */
.karriere-submit-btn {
    width: 100%;
    padding: 14px 25px !important;
    font-size: 1.1rem !important;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.karriere-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.karriere-submit-btn:hover::before {
    left: 100%;
}

/* Karriere CTA */
.karriere-cta {
    text-align: center;
    padding: 4rem 5% 6rem;
}

.karriere-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .karriere-hero h1 {
        font-size: 2rem;
    }

    .karriere-hero-subtitle {
        font-size: 1rem;
    }

    .karriere-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .karriere-form {
        padding: 1.5rem;
    }

    .karriere-req-card {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.7rem;
        width: 100%;
        word-break: break-word;
        box-sizing: border-box;
    }

    .karriere-req-list .editable-wrapper {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .karriere-req-list .editable-text {
        flex: 1;
        min-width: 0;
    }

    .karriere-req-list .req-icon {
        padding-top: 2px;
        flex-shrink: 0;
    }

    #map {
        height: 400px !important;
    }

    .nav-cta {
        padding: 5px 12px !important;
        font-size: 0.85rem !important;
    }
}

/* ===== ADMIN INLINE EDIT STYLES ===== */
.admin-bar {
    background: #dc2626;
    color: #fff;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.admin-bar-logout {
    color: #fff;
    background: rgba(0,0,0,0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.2s;
}

.admin-bar-logout:hover {
    background: rgba(0,0,0,0.5);
}

.editable-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.editable-text {
    white-space: pre-line;
}

.btn-edit {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.btn-edit:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.btn-add-service {
    background: #dc2626;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-left: 0.6rem;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
    vertical-align: middle;
}

.btn-add-service:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

.services-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .services-grid { grid-template-columns: 1fr; }
}

.inline-edit-input {
    padding: 0.3rem 0.5rem;
    border: 2px solid #dc2626;
    border-radius: 4px;
    background: #1a1a2e;
    color: #fff;
    font-size: 0.9rem;
    min-width: 180px;
    flex: 1;
    font-family: inherit;
}

textarea.inline-edit-input {
    width: 100%;
    resize: vertical;
    min-height: 80px;
}

.inline-edit-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.4);
}

.btn-save-inline,
.btn-cancel-inline {
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.15s;
}

.btn-save-inline {
    background: #22c55e;
    color: #fff;
}

.btn-save-inline:hover {
    transform: scale(1.1);
}

.btn-cancel-inline {
    background: #6b7280;
    color: #fff;
}

.btn-cancel-inline:hover {
    transform: scale(1.1);
}

.admin-toast {
    position: fixed;
    top: 60px;
    right: 20px;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 99999;
    animation: toastSlide 0.3s ease;
    transition: opacity 0.3s;
}

.admin-toast-success {
    background: #166534;
    color: #4ade80;
    border: 1px solid #22c55e;
}

.admin-toast-error {
    background: #7f1d1d;
    color: #fca5a5;
    border: 1px solid #dc2626;
}

@keyframes toastSlide {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ===== SUBJECTS MODAL ===== */
.subjects-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.subjects-modal {
    background: #1a1d2e;
    border: 1px solid #2d3148;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.subjects-modal h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.subjects-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.subject-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.subject-row input {
    flex: 1;
    padding: 0.5rem;
    background: #0f1119;
    border: 1px solid #2d3148;
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
}

.subject-row input:focus {
    outline: none;
    border-color: #ff5e00;
}

.subject-row input.subj-key {
    max-width: 100px;
}

.btn-remove-subject {
    background: #dc2626;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s;
}

.btn-remove-subject:hover {
    background: #b91c1c;
}

.btn-add-subject {
    background: transparent;
    border: 1px dashed #4b5563;
    color: #9ca3af;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 0.9rem;
    transition: border-color 0.2s, color 0.2s;
    margin-bottom: 1.5rem;
}

.btn-add-subject:hover {
    border-color: #22c55e;
    color: #22c55e;
}

.subjects-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-save-subjects {
    background: #22c55e;
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save-subjects:hover {
    background: #16a34a;
}

.btn-cancel-subjects {
    background: #4b5563;
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel-subjects:hover {
    background: #374151;
}

/* Checkbox list for subjects */
.subjects-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

/* Subject multi-select checkbox group on karriere form */
.subjects-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
    background: #0f1119;
    border: 1px solid #2d3148;
    border-radius: 8px;
    max-height: 260px;
    overflow-y: auto;
    transition: border-color 0.2s;
}

.subjects-checkbox-group.subjects-checkbox-group-error {
    border-color: #ff4444;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2);
}

@media (max-width: 600px) {
    .subjects-checkbox-group {
        grid-template-columns: 1fr;
    }
}

.subject-check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    background: #0f1119;
    border: 1px solid #2d3148;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.subject-check-item:hover {
    border-color: #ff5e00;
    background: rgba(255, 94, 0, 0.05);
}

.subject-check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff5e00;
    cursor: pointer;
    flex-shrink: 0;
}

.subject-check-label {
    color: #e8e9f0;
    font-size: 0.95rem;
}

.subject-check-translations {
    color: #6b7280;
    font-size: 0.8rem;
}

/* ===== ADMIN INBOX BUTTON ===== */
.admin-inbox-btn {
    position: relative;
    background: linear-gradient(135deg, #ff5e00, #ff8c42);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(255, 94, 0, 0.4);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.admin-inbox-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(255, 94, 0, 0.6);
}

.inbox-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f1119;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.inbox-badge-zero {
    background: #4b5563;
    animation: none;
}

/* ===== INBOX MODAL ===== */
.inbox-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.2s ease;
}

.inbox-modal {
    background: #1a1d2e;
    border: 1px solid #2d3148;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.inbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #2d3148;
}

.inbox-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}

.inbox-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}

.inbox-close:hover {
    color: #fff;
}

.inbox-body {
    padding: 1rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.inbox-item {
    background: #0f1119;
    border: 1px solid #2d3148;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s;
}

.inbox-item-unread {
    border-left: 3px solid #ff5e00;
    background: rgba(255, 94, 0, 0.03);
}

.inbox-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.inbox-item-header strong {
    color: #e8e9f0;
    font-size: 0.95rem;
}

.inbox-item-date {
    color: #6b7280;
    font-size: 0.75rem;
}

.inbox-item-meta {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.inbox-item-motivation {
    color: #c8c9d0;
    font-size: 0.85rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border-left: 2px solid #4b5563;
}

.inbox-item-cv {
    margin-top: 0.5rem;
}

.inbox-cv-link {
    color: #ff5e00;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.inbox-cv-link:hover {
    color: #ff8c42;
}

.inbox-item-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.inbox-btn-read {
    background: #22c55e;
    color: #fff;
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.inbox-btn-read:hover {
    background: #16a34a;
}

.inbox-btn-delete {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.inbox-btn-delete:hover {
    background: #b91c1c;
}

/* ===== FEEDBACK / TESTIMONIALS SECTION ===== */

/* Feedback CTA Banner */
.feedback-cta-banner {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.08) 0%, rgba(255, 94, 0, 0.02) 100%);
    border: 1px solid rgba(255, 94, 0, 0.2);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.feedback-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-orange), transparent);
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.5);
}

.feedback-cta-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 8px rgba(255, 94, 0, 0.4));
    animation: feedbackIconPulse 3s ease-in-out infinite;
}

@keyframes feedbackIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feedback-cta-banner h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.feedback-cta-banner p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.feedback-cta-btn {
    font-size: 1rem;
    padding: 12px 30px;
}

/* Feedback Form Container — expandable */
.feedback-form-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    margin-bottom: 0;
}

.feedback-form-container.feedback-form-open {
    max-height: 700px;
    opacity: 1;
    margin-bottom: 3rem;
}

.feedback-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    margin-top: 1.5rem;
}

/* Star Rating Input */
.feedback-star-input {
    display: flex;
    gap: 6px;
    margin-top: 0.3rem;
}

.feedback-star-btn {
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease, text-shadow 0.15s ease;
    user-select: none;
    line-height: 1;
}

.feedback-star-btn:hover {
    transform: scale(1.2);
}

.feedback-star-btn-active {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.3);
}

.feedback-submit-btn {
    width: 100%;
    padding: 12px 25px;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

/* Feedback Cards Grid */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feedback-card {
    background: var(--card-bg);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: feedbackCardIn 0.4s ease-out;
}

@keyframes feedbackCardIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-orange);
    box-shadow: 0 8px 30px rgba(255, 94, 0, 0.15);
}

.feedback-card-hidden {
    display: none;
}

.feedback-card-revealed {
    display: flex;
}

/* Stars in Cards */
.feedback-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.feedback-stars {
    display: flex;
    gap: 3px;
}

.feedback-star {
    font-size: 1.3rem;
    line-height: 1;
}

.feedback-star-filled {
    color: #FFD700;
    text-shadow:
        0 0 6px rgba(255, 215, 0, 0.7),
        0 0 14px rgba(255, 215, 0, 0.4),
        0 0 25px rgba(255, 215, 0, 0.2);
    animation: starShimmer 2.5s ease-in-out infinite;
}

@keyframes starShimmer {
    0%, 100% {
        text-shadow:
            0 0 6px rgba(255, 215, 0, 0.7),
            0 0 14px rgba(255, 215, 0, 0.4),
            0 0 25px rgba(255, 215, 0, 0.2);
    }
    50% {
        text-shadow:
            0 0 10px rgba(255, 215, 0, 0.9),
            0 0 20px rgba(255, 215, 0, 0.6),
            0 0 35px rgba(255, 215, 0, 0.3);
    }
}

.feedback-star-empty {
    color: #333;
}

.feedback-date {
    color: #666;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}

/* Message */
.feedback-message {
    color: #c8c9d0;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    flex: 1;
    margin-bottom: 1.2rem;
}

/* Footer of card */
.feedback-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 1rem;
}

.feedback-author {
    color: var(--neon-orange);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

/* Admin actions on feedback cards */
.feedback-admin-actions {
    display: flex;
    gap: 0.4rem;
}

/* Empty state */
.feedback-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 3rem 0;
    font-style: italic;
}

/* Show More / Show Less Button */
.feedback-show-more-container {
    text-align: center;
    margin-top: 2rem;
}

.feedback-show-more-btn {
    font-size: 0.95rem;
    padding: 10px 28px;
}

/* ===== FEEDBACK EDIT MODAL (Admin) ===== */
.feedback-edit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.2s ease;
}

.feedback-edit-modal {
    background: #1a1d2e;
    border: 1px solid #2d3148;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
}

.feedback-edit-modal h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.feedback-edit-modal .form-group {
    margin-bottom: 1.2rem;
}

.feedback-edit-modal .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--neon-orange);
    font-weight: 600;
    font-size: 0.9rem;
}

.feedback-edit-modal .inline-edit-input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #2d3148;
    border-radius: 6px;
    background: #0f1119;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
}

.feedback-edit-modal .inline-edit-input:focus {
    outline: none;
    border-color: var(--neon-orange);
    box-shadow: 0 0 0 2px rgba(255, 94, 0, 0.2);
}

/* Responsive — Feedback Grid */
@media (max-width: 1024px) {
    .feedback-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .feedback-cta-banner {
        padding: 2rem 1.5rem;
    }

    .feedback-cta-banner h3 {
        font-size: 1.3rem;
    }

    .feedback-form {
        padding: 1.5rem;
    }

    .feedback-card {
        padding: 1.5rem;
    }

    .feedback-star {
        font-size: 1.15rem;
    }
}

/* ===== CONTACT SUCCESS OVERLAY ===== */

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.success-panel {
    position: relative;
    z-index: 2;
    max-width: 520px;
    width: 90%;
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.97), rgba(10, 5, 0, 0.97));
    border: 1px solid rgba(255, 94, 0, 0.35);
    border-radius: 16px;
    padding: 3rem 2.5rem 2.5rem;
    text-align: center;
    box-shadow:
        0 0 40px rgba(255, 94, 0, 0.15),
        0 0 80px rgba(255, 94, 0, 0.05),
        0 25px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.85) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.success-overlay.active .success-panel {
    transform: scale(1) translateY(0);
}

/* Glow line at top of panel */
.success-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-orange), transparent);
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.6);
    animation: panelLineGlow 3s ease-in-out infinite;
}

@keyframes panelLineGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Animated checkmark circle */
.success-checkmark {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.8rem;
    position: relative;
}

.success-checkmark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.checkmark-circle {
    fill: none;
    stroke: var(--neon-orange);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 252;
    stroke-dashoffset: 252;
    filter: drop-shadow(0 0 8px rgba(255, 94, 0, 0.5));
}

.success-overlay.active .checkmark-circle {
    animation: drawCircle 0.8s 0.2s ease-out forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

.checkmark-check {
    fill: none;
    stroke: var(--neon-orange);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    filter: drop-shadow(0 0 6px rgba(255, 94, 0, 0.7));
}

.success-overlay.active .checkmark-check {
    animation: drawCheck 0.5s 0.9s ease-out forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

/* Pulse ring behind checkmark */
.checkmark-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(255, 94, 0, 0.3);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
}

.success-overlay.active .checkmark-pulse {
    animation: pulseRing 1.5s 1.2s ease-out forwards;
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* Text content */
.success-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(15px);
}

.success-overlay.active .success-title {
    animation: textFadeIn 0.5s 1s ease-out forwards;
}

.success-subtitle {
    font-size: 1.1rem;
    color: var(--neon-orange);
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(15px);
    text-shadow: 0 0 12px rgba(255, 94, 0, 0.3);
}

.success-overlay.active .success-subtitle {
    animation: textFadeIn 0.5s 1.15s ease-out forwards;
}

.success-divider {
    width: 60px;
    height: 2px;
    background: var(--neon-orange);
    margin: 0 auto 1rem;
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
    opacity: 0;
    transform: scaleX(0);
}

.success-overlay.active .success-divider {
    animation: dividerIn 0.4s 1.3s ease-out forwards;
}

@keyframes dividerIn {
    to { opacity: 1; transform: scaleX(1); }
}

.success-detail {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(15px);
}

.success-overlay.active .success-detail {
    animation: textFadeIn 0.5s 1.4s ease-out forwards;
}

@keyframes textFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Close button */
.success-close-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid var(--neon-orange);
    color: var(--neon-orange);
    background: transparent;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.15);
    opacity: 0;
    transform: translateY(15px);
    font-family: var(--font-main);
    position: relative;
    overflow: hidden;
}

.success-overlay.active .success-close-btn {
    animation: textFadeIn 0.5s 1.55s ease-out forwards;
}

.success-close-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--neon-orange);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.success-close-btn:hover::before {
    width: 300px;
    height: 300px;
}

.success-close-btn:hover {
    color: #000;
    border-color: var(--neon-orange);
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.4);
}

/* Floating particles */
.success-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.success-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-orange);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px rgba(255, 94, 0, 0.5);
}

.success-overlay.active .success-particle {
    animation: particleFloat 2.5s ease-out forwards;
}

.success-particle:nth-child(1) { left: 15%; top: 60%; animation-delay: 0.3s; }
.success-particle:nth-child(2) { left: 25%; top: 40%; animation-delay: 0.5s; }
.success-particle:nth-child(3) { left: 70%; top: 55%; animation-delay: 0.4s; }
.success-particle:nth-child(4) { left: 80%; top: 35%; animation-delay: 0.6s; }
.success-particle:nth-child(5) { left: 45%; top: 70%; animation-delay: 0.35s; }
.success-particle:nth-child(6) { left: 55%; top: 25%; animation-delay: 0.55s; }
.success-particle:nth-child(7) { left: 35%; top: 80%; animation-delay: 0.45s; }
.success-particle:nth-child(8) { left: 90%; top: 65%; animation-delay: 0.65s; }

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    30% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-120px) scale(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .success-panel {
        padding: 2.5rem 1.5rem 2rem;
        max-width: 95%;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .success-subtitle {
        font-size: 1rem;
    }

    .success-checkmark {
        width: 75px;
        height: 75px;
    }

    .success-close-btn {
        padding: 10px 32px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .success-panel {
        padding: 2rem 1.2rem 1.5rem;
    }

    .success-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .success-detail {
        font-size: 0.88rem;
    }
}