/* ==========================================
   VNKÖ Zentrales Stylesheet
   Version: 1.0.0
   ========================================== */

:root { 
    --vnkoe-dark: #168E62; 
    --vnkoe-light: #BEDBCC; 
    --vnkoe-footer: #2D2D2D; 
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    background-color: #f9f9f9; 
    color: #000; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

/* --- KOPFZEILE --- */
header { 
    background: var(--vnkoe-dark); 
    color: white; 
    padding: 15px 30px; 
    display: flex; 
    align-items: center; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}
.logo { height: 60px; margin-right: 20px; }
.header-text b { display: block; font-size: 1.2em; }
.header-text span { font-size: 0.85em; opacity: 0.9; }

/* --- NAVIGATION --- */
nav.user-nav { 
    background: #fff; 
    padding: 10px 30px; 
    display: flex; 
    justify-content: flex-end; 
    gap: 20px; 
    border-bottom: 1px solid #ddd; 
}
nav.user-nav a { color: var(--vnkoe-dark); text-decoration: none; font-weight: bold; font-size: 0.9em; }

/* --- HAUPTBEREICH --- */
main { 
    flex: 1; 
    padding: 40px 20px; 
    max-width: 1000px; 
    margin: 0 auto; 
    width: 100%; 
    box-sizing: border-box; 
}
h1, h2 { color: var(--vnkoe-dark); margin-top: 0; }

/* --- LAYOUT BOXEN --- */
.form-card { 
    background: var(--vnkoe-light); 
    padding: 35px; 
    border-radius: 12px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.05); 
    max-width: 600px; 
    margin: 0 auto; 
}
.box-white { 
    background: white; 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

/* --- FORMULARE --- */
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: bold; margin-bottom: 8px; color: #333; }
input[type="text"], input[type="email"], input[type="password"] { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #fff; 
    border-radius: 6px; 
    box-sizing: border-box; 
    font-size: 1em; 
    font-family: inherit;
}
.hint { font-size: 0.8em; color: #555; display: block; margin-top: 6px; line-height: 1.4; }

/* --- BUTTONS --- */
.btn { 
    display: inline-block; 
    background: var(--vnkoe-dark); 
    color: white; 
    padding: 12px 20px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: bold; 
    text-align: center; 
    cursor: pointer; 
    border: none; 
    font-size: 1em; 
}
.btn:hover { opacity: 0.9; }
.btn-full { width: 100%; }

/* --- ALARMS & MELDUNGEN --- */
.alert { padding: 15px; border-radius: 6px; margin-bottom: 20px; font-size: 0.95em; }
.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* --- DOKUMENTEN-LISTE --- */
.search-bar { display: flex; gap: 10px; margin-bottom: 20px; }
.search-bar input { flex-grow: 1; border: 1px solid #ccc; }
.doc-item { padding: 20px; background: white; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border-left: 5px solid var(--vnkoe-dark); }
.doc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.doc-title { font-size: 1.1em; color: var(--vnkoe-dark); margin: 0; font-weight: bold;}
.doc-meta { font-size: 0.8em; color: #7f8c8d; }
.doc-desc { font-size: 0.9em; color: #555; margin-bottom: 15px; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 15px; }
.tag-badge { background: var(--vnkoe-light); color: var(--vnkoe-dark); padding: 4px 10px; border-radius: 12px; font-size: 0.75em; font-weight: bold; }

/* --- FUSSZEILE --- */
footer { 
    background: var(--vnkoe-footer); 
    color: #fff; 
    padding: 30px; 
    text-align: center; 
    font-size: 0.85em; 
    line-height: 1.6; 
    margin-top: auto;
}
.footer-line { border-top: 1px solid #444; margin: 15px auto; max-width: 200px; }
