/* ==========================================================================
   SERVICE.CSS // PROFESSIONAL OFFICE STYLESHEET
   ========================================================================== */

/* ==========================================
   01 // LOCAL VARIABLES & BASE LAYOUT
   ========================================== */
#side-service {
    --accent-green: #00ff88;
    --neon-orange: #ff9d00;
    --electric-cyan: #00f2ff;
    --accent-blue: #3498db;
    background: linear-gradient(135deg, #101214 0%, #1a1c1e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: auto;
    min-height: 100vh;
    height: auto;
    position: relative;
}

    #side-service .service-office-layout {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
        align-items: stretch;
        min-height: 80vh;
        height: auto;
        margin-top: 20px;
        padding: 20px;
        position: relative;
    }

        /* Der vertikale Scanner-Strich in der Mitte */
        #side-service .service-office-layout::before {
            content: "";
            position: absolute;
            left: 40%;
            top: 10%;
            bottom: 10%;
            width: 1px;
            background: linear-gradient(to bottom, transparent, rgba(224, 211, 184, 0.15), transparent);
            z-index: 1;
            pointer-events: none;
        }

    /* ==========================================
   02 // PANELS & HUD BRACKETS
   ========================================== */
    #side-service .partner-dictionary-column,
    #side-service .professional-form-container {
        position: relative;
        background: rgba(255, 255, 255, 0.01);
        border: 1px solid rgba(224, 211, 184, 0.03);
        padding: 30px;
        display: flex;
        flex-direction: column;
        transition: all 0.4s ease;
        border-radius: 4px;
        /* Höhen-Management für Zoom-Stabilität */
        min-height: 600px;
        max-height: 850px;
    }

        /* Headings */
        #side-service .partner-dictionary-column h3 {
            color: var(--neon-orange);
            font-family: 'Share Tech Mono', monospace;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 15px rgba(255, 157, 0, 0.3);
        }

        #side-service .professional-form-container h3 {
            color: var(--electric-cyan);
            font-family: 'Share Tech Mono', monospace;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
        }

        /* HUD Brackets: Partner (Orange) */
        #side-service .partner-dictionary-column::before {
            content: "";
            position: absolute;
            top: -1px;
            left: -1px;
            width: 15px;
            height: 15px;
            border-top: 2px solid var(--neon-orange);
            border-left: 2px solid var(--neon-orange);
            border-radius: 4px 0 0 0;
        }

        #side-service .partner-dictionary-column::after {
            content: "";
            position: absolute;
            bottom: -1px;
            right: -1px;
            width: 15px;
            height: 15px;
            border-bottom: 2px solid var(--neon-orange);
            border-right: 2px solid var(--neon-orange);
            border-radius: 0 0 4px 0;
        }

        /* HUD Brackets: Form (Cyan) */
        #side-service .professional-form-container::before {
            content: "";
            position: absolute;
            top: -1px;
            right: -1px;
            width: 15px;
            height: 15px;
            border-top: 2px solid var(--electric-cyan);
            border-right: 2px solid var(--electric-cyan);
            border-radius: 0 4px 0 0;
        }

        #side-service .professional-form-container::after {
            content: "";
            position: absolute;
            bottom: -1px;
            left: -1px;
            width: 15px;
            height: 15px;
            border-bottom: 2px solid var(--electric-cyan);
            border-left: 2px solid var(--electric-cyan);
            border-radius: 0 0 0 4px;
        }

/* ==========================================
   03 // FORM ELEMENTS (Right Column)
   ========================================== */
.service-office-content {
    max-width: 800px;
    width: 100%;
    margin-top: 20px;
}

.terminal-title {
    font-family: 'Courier New', monospace;
    color: var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 30px 0;
}

.config-section {
    display: flex;
    flex-direction: column;
    text-align: left;
}

    .config-section label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 10px;
        color: rgba(255, 255, 255, 0.5);
    }

.code-color {
    color: var(--accent-green);
    font-weight: bold;
}

/* Inputs */
.service-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(52, 152, 219, 0.3);
    padding: 15px;
    color: #fff;
    font-family: 'Courier New', monospace;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .service-input:focus {
        border-color: var(--accent-green);
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
        outline: none;
    }

/* Custom Dropdown */
select.service-input {
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    appearance: none;
    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='white' 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 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

    select.service-input option {
        background-color: #1a1c1e;
        padding: 10px;
    }

    select.service-input:focus {
        border-color: var(--electric-cyan);
        background-color: #000;
    }

.full-width {
    grid-column: span 2;
}

textarea.service-input {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button Logic */
#submit-service-request.btn-action {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    pointer-events: none;
    transition: all 0.5s ease;
    filter: grayscale(1);
}

    #submit-service-request.btn-action.active-glow {
        background: var(--electric-cyan);
        color: #000;
        pointer-events: auto;
        filter: grayscale(0);
        box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
        cursor: pointer;
    }

.cf-turnstile {
    padding-left: 10px;
}
/* ==========================================
   04 // PARTNER DIRECTORY (Left Column)
   ========================================== */
.partner-scroll-list {
    overflow-y: auto;
    margin-top: 20px;
    padding-right: 10px;
}

    .partner-scroll-list::-webkit-scrollbar {
        width: 3px;
    }

    .partner-scroll-list::-webkit-scrollbar-thumb {
        background: rgba(255, 157, 0, 0.3);
    }

/* Base Partner Card */
.partner-card {
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

    .partner-card:hover:not(.selected) {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateX(2px);
    }

    /* Selected Regular Partner (Green) */
    .partner-card.selected {
        border: 2px solid var(--accent-green) !important;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.2) !important;
    }

        .partner-card.selected::before {
            content: "I";
            position: absolute;
            left: 5px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent-green);
            font-size: 0.6rem;
            text-shadow: 0 0 5px var(--accent-green);
        }

/* AI Autopilot Card (Blue) */
#ai-selector:not(.selected) {
    border: 1px solid rgba(0, 242, 255, 0.1);
    background: rgba(52, 152, 219, 0.15) !important;
    opacity: 0.8;
}

.partner-card.ai-active h4 {
    color: var(--accent-blue) !important;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

#ai-selector.selected {
    background: rgba(52, 152, 219, 0.15) !important;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.4) !important;
}

    #ai-selector.selected::before {
        display: none;
    }

/* AI Animations & Notes */
@keyframes ai-computing {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px var(--accent-blue));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px var(--accent-blue));
        opacity: 0.8;
    }
}

.ai-icon-anim {
    display: inline-block;
    animation: ai-computing 2s infinite ease-in-out;
    margin-right: 8px;
}

#ai-info-note {
    margin-top: 15px;
    padding: 10px;
    border-left: 2px solid var(--accent-blue);
    background: rgba(52, 152, 219, 0.05);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--accent-blue);
    display: block;
}

/* Card Internals */
.partner-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.partner-card h4 {
    color: var(--neon-orange);
    margin: 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    letter-spacing: 1px;
}

.partner-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.meta-item {
    display: flex;
    font-size: 0.65rem;
    font-family: 'Share Tech Mono', monospace;
}

.meta-label {
    color: rgba(224, 211, 184, 0.4);
    width: 65px;
}

.meta-value {
    color: rgba(255, 255, 255, 0.7);
}

.partner-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.xp-tag {
    font-size: 0.65rem;
    color: #666;
    font-family: 'Share Tech Mono', monospace;
}

/* Online Status */
.status-indicator {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    font-weight: bold;
}

.status-online {
    color: var(--accent-green) !important;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

    .status-online::before {
        content: "● ";
        animation: status-pulse 2s infinite;
    }

.status-offline {
    color: #555 !important;
}

@keyframes status-pulse {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        opacity: 0.6;
        filter: brightness(1.5);
    }
}

/* ==========================================
   05 // MODALS & MISC
   ========================================== */
.payment-box {
    border: 1px solid var(--neon-orange) !important;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.2);
    max-width: 450px;
}

    .payment-box .terminal-header {
        background: rgba(243, 156, 18, 0.1);
        color: var(--neon-orange);
    }

.wallet-display {
    background: rgba(0, 0, 0, 0.6);
    border: 1px dashed var(--neon-orange);
    padding: 15px;
    margin: 10px 0;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    color: #fff;
    text-align: center;
}

/* ==========================================
   06 // MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    #side-service {
        height: 100vh !important;
        overflow-y: auto !important;
        position: relative;
    }

        #side-service .service-office-layout {
            display: flex !important;
            flex-direction: column !important;
            height: auto !important;
            padding: 10px 15px 120px 15px !important;
            gap: 25px;
        }

        #side-service .partner-dictionary-column,
        #side-service .professional-form-container {
            width: 100% !important;
            max-width: 100% !important;
            min-height: auto !important;
            margin: 0 !important;
            padding: 20px !important;
            box-sizing: border-box;
        }

        #side-service .service-office-layout::before {
            display: none !important;
        }
}
