/* Basis: volle scherm achtergrond */
/* Touch-friendly input */
#gsc-i-id1 {
    min-height: 48px !important;  /* Google mobiel minimum */
    font-size: 16px !important;
}

html, body { 
    height: 100%; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('/photo/background.jpg') center/cover no-repeat fixed; /* Subtiele waterval */
    min-height: 100vh; 
}

* { box-sizing: border-box; }

header { 
    background: rgba(255,255,255,0.95); 
    color: #1a73e8; 
    padding: 2rem; 
    text-align: center; 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
}
header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
header p { font-size: 1.2rem; opacity: 0.9; }

main { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 2rem 1rem; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: calc(100vh - 200px); 
}

/* Zoekbox - NU ECHT gecentreerd en rond */
.gcse-search { 
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    width: 100%; 
    max-width: 700px; 
}
.gsc-control-cse { 
    background: rgba(255,255,255,0.95) !important; 
    border-radius: 50px !important; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important; 
    padding: 0.5rem !important; 
    border: none !important; 
    overflow: hidden !important; 
    width: 100%; 
    backdrop-filter: blur(10px) !important; 
}
.gsc-input-box, .gsc-input-box-focus { 
    border: none !important; 
    border-radius: 50px !important; 
    background: rgba(248,249,250,0.8) !important; 
    margin: 0 !important; 
}
#gsc-i-id1 { 
    font-size: 1.1rem !important; 
    padding: 1.2rem 1.8rem !important; 
    color: #333 !important; 
    outline: none !important; 
    border-radius: 50px !important; 
    width: 100% !important; 
    background: none !important; 
}
#gsc-i-id1::placeholder { color: #999 !important; }
.gsc-search-button-v2 { 
    background: linear-gradient(135deg, #1a73e8, #0d47a1) !important; 
    border-radius: 50px !important; 
    border: none !important; 
    padding: 1.2rem 2.2rem !important; 
    margin-left: 0.5rem !important; 
    min-width: 90px !important; 
    transition: all 0.3s !important; 
}
.gsc-search-button-v2:hover { 
    transform: scale(1.05) !important; 
    box-shadow: 0 8px 25px rgba(26,115,232,0.4) !important; 
}
.gsc-search-button-v2 svg { 
    fill: white !important; width: 22px !important; height: 22px !important; 
}

/* Resultaten gecentreerd */
.gsc-results { margin-top: 2rem !important; max-width: 800px !important; margin-left: auto !important; margin-right: auto !important; }
.gsc-webResult { background: rgba(255,255,255,0.9) !important; border-radius: 12px !important; margin-bottom: 1rem !important; }

footer { 
    background: rgba(0,0,0,0.7); 
    color: white; 
    text-align: center; 
    padding: 1.5rem; 
    margin-top: auto; 
}

/* Mobiel aanpassingen */
@media (max-width: 768px) {
    .gsc-search-button-v2 { margin-left: 0 !important; margin-top: 0.5rem !important; width: 100% !important; }
    header h1 { font-size: 2rem; }
    
    #gsc-i-id1 {
        width: 100% !important;
        max-width: none !important;
        padding-left: 1rem !important;
        padding-right: 3rem !important;  /* Ruimte voor knop */
        font-size: 16px !important;  /* Normaal formaat */
        line-height: normal !important;
        white-space: nowrap !important;  /* Tekst niet breken */
        overflow: visible !important;    /* ALLES zichtbaar tijdens typen */
    }
    
    .gsc-input-box {
        width: 100vw !important;
        margin: 0 -1rem !important;  /* Volle schermbreedte */
        padding: 0 1rem !important;
    }
    
    .gsc-search-button-v2 {
        position: absolute !important;
        right: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        height: 44px !important;  /* Compact zoals Google */
        width: auto !important;
    }
}