/* ============================================================
   Path: /qbh2h/assets/css/base.css
   Description: Core layout, colors, and global styles
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --elf-blue: #3f598f;
    --elf-light: #e9eef6;
    --elf-border: #b7c3da;
    --elf-white: #ffffff;
    --elf-dark: #333333;
    --elf-gray: #f8f9fb;
    --elf-highlight: #ffeb3b;
    --elf-success: #2ecc71;
}

body {
    font-family: sans-serif;
    background: var(--elf-light);
    margin: 0;
    padding: 0;   /* WICHTIG */
    color: var(--elf-dark);
}



.wrapper {
    max-width: 1100px;
    margin: auto;
    background: var(--elf-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.intro-box {
    margin-bottom: 25px;
    border-left: 4px solid var(--elf-blue);
    padding: 5px 20px;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

/* Filter Bar Structure */
.filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    background: var(--elf-gray);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--elf-border);
    margin-bottom: 30px;
}

.filter-group label {
    font-size: 11px;
    font-weight: bold;
    color: var(--elf-blue);
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--elf-border);
    margin-bottom: 8px;
    font-size: 14px;
}


/* ============================
   Button Base Styles
   ============================ */

.btn-main,
.btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 42px;
    padding: 0 18px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;

    transition: background 0.2s, opacity 0.2s;
}


/* ============================
   Primary Button
   ============================ */

.btn-main {
    background: var(--elf-blue);
    color: var(--elf-white);
    border: none;
}

.btn-main:hover {
    opacity: 0.9;
}


/* ============================
   Reset / Secondary Button
   ============================ */

.btn-reset {
    background: #f1f5f9;
    color: var(--elf-dark);
    border: 1px solid #e2e8f0;
}

.btn-reset:hover {
    background: #e8eef5;
}


/* Footer Support */
.footer-support {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Container für Input und Button */
.share-container {
    margin-top: 15px;
    display: flex;
    align-items: stretch; 
    width: 100%;
}

.share-input-wrapper {
    flex-grow: 1;
    display: flex;
}

.share-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid var(--elf-border);
    border-radius: 5px 0 0 5px; 
    border-right: none; 
    background: #fff;
    color: #666;
    cursor: default;
    outline: none;
}

.btn-copy {
    background: var(--elf-blue);
    color: #fff;
    border: none;
    padding: 0 15px; /* Padding links/rechts für den Text */
    border-radius: 0 5px 5px 0; /* Nur rechts abgerundet */
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    
    /* Perfekte Zentrierung ohne Abschneiden */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Dynamische Breite statt fester 60px */
    min-width: 60px; 
    width: auto !important; 
    margin: 0 !important;
}

.btn-copy.success {
    background: var(--elf-success);
}
.tool-switcher-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.switcher-link {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    background: #e0e0e0; /* Wie dein Reset-Button */
    color: #333;
    border: 1px solid #ccc;
}
.switcher-link.active {
    background: #004a99; /* Dein Primär-Blau */
    color: white;
    border-color: #003366;
}
.info-support {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.support-text {
    font-size: 12px;
    color: var(--slate);
    line-height: 1.4;
}

.support-btn img {
    display: block;
}
@media (max-width: 640px) {
    .info-support {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ============================
   Global Content Spacing
   ============================ */

.layout {
    display: flex;
    justify-content: center;
    width: 100%;
}

.content {
    width: 100%;
    max-width: 1100px;
    padding: 24px 16px 0;  /* ← TOP spacing unter Header */
}
