*{
    box-sizing:border-box;
    margin:0;
    padding:0;
    font-family:'Segoe UI',Arial,sans-serif;
}

/* ================= BODY ================= */

body{
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:#f1f5f9;
    min-height:100vh;
    padding:30px;
}

.container{
    max-width:1200px;
    margin:auto;
}

/* ================= CARD ================= */

.card{
    background:#1e293b;
    padding:25px;
    border-radius:14px;
    margin-bottom:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.4);
    border:1px solid #334155;
}

h2, h3{
    margin-bottom:15px;
}

/* ================= FORM ================= */

select,
input[type="number"],
input[type="text"],
input[type="password"],
input[type="date"]{
    padding:10px 14px;
    margin-bottom:14px;
    border-radius:8px;
    border:1px solid #334155;
    background:#0f172a;
    color:#f1f5f9;
    font-size:14px;
    outline:none;
    transition:0.2s ease;
}

.card select,
.card input{
    width:100%;
}

select:focus,
input:focus{
    border-color:#6366f1;
    box-shadow:0 0 0 3px rgba(99,102,241,0.3);
}

label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
    color:#cbd5e1;
}

/* ================= BUTTONS ================= */

button{
    padding:10px 16px;
    background:#6366f1;
    color:white;
    border:none;
    border-radius:8px;
    cursor:pointer;
    transition:0.2s;
}

button:hover{
    background:#4f46e5;
    transform:scale(1.03);
}

.btn-back{
    display:inline-block;
    padding:10px 16px;
    background:#334155;
    color:#f1f5f9;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:0.2s;
    border:1px solid #475569;
}

.btn-back:hover{
    background:#6366f1;
    transform:scale(1.03);
}

/* ================= TABLE ================= */

table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
}

th{
    background:#6366f1;
    padding:12px;
    text-align:left;
}

td{
    padding:10px;
    border-bottom:1px solid #334155;
}

tr:hover{
    background:#0f172a;
}

/* ================= LINKS ================= */

a{
    color:#60a5fa;
    text-decoration:none;
    font-weight:bold;
}

/* ================= HERO (alte Seiten) ================= */

.hero{
    text-align:center;
    margin-bottom:40px;
}

.hero img{
    width:100%;
    max-width:900px;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,.6);
}

/* ================= KONTO ================= */

.konto-liste{
    margin-top:10px;
}

.konto-zeile{
    display:flex;
    justify-content:space-between;
    padding:14px;
    border-bottom:1px solid #334155;
    cursor:pointer;
    align-items:center;
    transition:0.2s;
}

.konto-zeile:hover{
    background:#0f172a;
}

.konto-links{
    display:flex;
    flex-direction:column;
}

.konto-typ{
    font-weight:600;
}

.konto-datum{
    font-size:13px;
    color:#9ca3af;
}

.konto-betrag{
    font-weight:600;
    font-size:16px;
}

.konto-detail{
    display:none;
    padding:12px 15px;
    background:#0f172a;
    font-size:14px;
    color:#cbd5e1;
    border-bottom:1px solid #334155;
}

.konto-detail.open{
    display:block;
}

/* ========================================================= */
/* ================= DASHBOARD TOP (NEU) =================== */
/* ========================================================= */

.dashboard-top{
    display:grid;
    grid-template-columns: 620px 1fr;   /* Inseln größer */
    gap:40px;
    margin:30px 0 50px 0;
    align-items:start;
}

/* ================= INSELN CARD ================= */

.inseln-card{
    background:#0f172a;
    padding:30px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,0.45);
    min-height:560px;
    display:flex;
    flex-direction:column;
}

.inseln-card h3{
    margin-top:0;
    margin-bottom:20px;
    font-size:20px;
}

.inseln-table-wrapper{
    flex:1;
    overflow-y:auto;
    border-radius:12px;
}

.inseln-table{
    width:100%;
    border-collapse:collapse;
    font-size:15px;
}

.inseln-table thead{
    background:#1e293b;
    position:sticky;
    top:0;
}

.inseln-table th,
.inseln-table td{
    padding:12px;
}

.inseln-table tbody tr{
    border-bottom:1px solid #1e293b;
    transition:0.2s;
}

.inseln-table tbody tr:hover{
    background:#1e293b;
}

/* ================= HERO CARD ================= */

.hero-card{
    background:#0f172a;
    padding:40px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,0.45);
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-card img{
    max-width:60%;     /* Bild kleiner */
    height:auto;
    border-radius:16px;
    box-shadow:0 20px 50px rgba(0,0,0,0.6);
}

/* ================= RESPONSIVE ================= */

@media (max-width:1100px){
    .dashboard-top{
        grid-template-columns:1fr;
    }

    .hero-card img{
        max-width:80%;
    }
}

@media(max-width:900px){
    body{
        padding:15px;
    }
}