/* Customer Portal Stylesheet — mallorca-leihwagen.com Farben */
:root {
    --orange: #ff6600;
    --orange-dark: #e55a00;
    --blue: #0057b8;
    --blue-mid: #376AB1;
    --dark: #0057b8;
    --dark-light: #1a6fd4;
    --text: #334155;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }

/* LOGIN */
.login-wrapper { min-height: calc(100vh - 70px); display: flex; align-items: center; justify-content: center; padding: 20px; padding-top: 0; background: linear-gradient(135deg, #e8f1fc 0%, #d0e3f7 100%); }
.login-card { background: var(--white); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); width: 100%; max-width: 420px; overflow: hidden; }
.login-header { background: #0057b8; color: #fff; padding: 32px; text-align: center; }
.login-header h1 { font-size: 22px; margin-bottom: 4px; }
.login-header p { font-size: 14px; opacity: 0.7; }
.login-form { padding: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-light); margin-bottom: 6px; }
.form-group input { width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 15px; transition: border-color 0.2s; background: var(--white); }
.form-group input:focus { outline: none; border-color: var(--orange); }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-full { width: 100%; padding: 14px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-outline-light { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* NAV — same as main website */
nav { background: rgba(255,255,255,.97); backdrop-filter: blur(14px); box-shadow: 0 1px 0 #e2e8f0; overflow: visible; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; overflow: visible; }
.logo { display: flex; align-items: flex-start; text-decoration: none; }
.logo-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border-radius: 0 0 10px 10px; padding: 10px 16px 0; box-shadow: 0 4px 16px rgba(0,0,0,.15); height: 100px; }
.logo-img { height: 53px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: .92rem; font-weight: 500; color: #334155; transition: color .2s; text-decoration: none; }
.nav-links a:hover { color: #ff6600; }
.nav-arrow { font-size: .65rem; margin-left: 4px; opacity: .6; }
.nav-links li { position: relative; }
.nav-links li .nav-drop { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 10px; min-width: 200px; list-style: none; z-index: 300; filter: drop-shadow(0 8px 24px rgba(0,0,0,.12)); }
.nav-links li .nav-drop::before { content: ''; display: block; height: 10px; }
.nav-links li .nav-drop > li { background: #fff; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; }
.nav-links li .nav-drop > li:first-child { border-top: 1px solid #e2e8f0; border-radius: 12px 12px 0 0; overflow: hidden; }
.nav-links li .nav-drop > li:last-child { border-bottom: 1px solid #e2e8f0; border-radius: 0 0 12px 12px; overflow: hidden; }
.nav-links li:hover .nav-drop { display: block; }
.nav-drop li a { display: block; padding: 9px 18px; font-size: .88rem; font-weight: 500; color: #334155 !important; white-space: nowrap; }
.nav-drop li a:hover { background: #f8fafc; color: #ff6600 !important; }
.nav-user { display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 500; color: #334155; white-space: nowrap; }
.btn-logout { color: #ff6600; font-weight: 600; text-decoration: none; padding: 6px 14px; border: 1px solid #ff6600; border-radius: 8px; font-size: .82rem; transition: all .2s; }
.btn-logout:hover { background: #ff6600; color: #fff; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: #334155; margin: 5px 0; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* DASHBOARD */
.dash-container { max-width: 900px; margin: 0 auto; padding: 24px; }
.dash-container h2 { font-size: 20px; margin-bottom: 20px; color: var(--dark); }

/* CARDS */
.card { background: var(--white); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 20px; overflow: hidden; border: 1px solid var(--border); }
.card-header { background: #0057b8; padding: 14px 20px; font-weight: 700; font-size: 15px; color: #fff; }
.card-body { padding: 20px; }

/* INFO GRID */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-item { display: flex; flex-direction: column; }
.info-label { font-size: 12px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.info-value { font-size: 15px; color: var(--text); }
.info-value.highlight { color: var(--orange); font-weight: 700; font-size: 16px; }

/* DOWNLOAD GRID */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.download-btn { display: flex; flex-direction: column; align-items: center; padding: 24px 16px; border: 2px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); transition: all 0.2s; text-align: center; }
.download-btn:hover { border-color: var(--orange); background: #fff8f0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,102,0,0.1); }
.download-icon { font-size: 36px; margin-bottom: 8px; }
.download-label { font-size: 15px; font-weight: 700; color: var(--orange); }
.download-desc { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* FOOTER */
.dash-footer { text-align: center; padding: 16px 20px; color: var(--text-light); font-size: 12px; margin-top: 20px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.12); gap: 0; }
    .nav-links.open { display: flex; }
    .nav-links li .nav-drop { position: static; transform: none; display: block; padding-top: 0; filter: none; min-width: auto; }
    .nav-links li .nav-drop > li { border: none !important; border-radius: 0 !important; }
    .nav-drop li a { padding-left: 28px !important; }
    .nav-user { padding: 12px 0; border-top: 1px solid #e2e8f0; margin-top: 8px; }
    .nav-user span { display: none; }
    .hamburger { display: block; }
    .info-grid { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: 1fr; }
    .dash-container { padding: 16px; }
}
