/* ============================================================
   Path: /qbh2h/assets/css/base.css
   Description: Core layout, colors, and global styles
   ============================================================ */

: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: 20px;
    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, button {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--elf-border);
    margin-bottom: 8px;
    font-size: 14px;
}

/* Button Variants */
.btn-main {
    background: var(--elf-blue);
    color: var(--elf-white);
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

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

.btn-reset {
    background: #ddd;
    color: var(--elf-dark);
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
    border: 1px solid #ccc;
}

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

/* 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);
}