/* ==========================================
   MINIGOLF – Supercup-Verwaltungssystem
   Basis-Styles
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.6;
}

/* ==========================================
   Header
========================================== */

.header{
    background:#0A4EA3;
    color:#fff;
    text-align:center;
    padding:30px 20px;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}

.header h1{
    font-size:38px;
    margin-bottom:5px;
}

.header h2{
    font-size:22px;
    font-weight:normal;
}

.header p{
    margin-top:10px;
}

/* ==========================================
   Layout
========================================== */

.container{
    max-width:1200px;
    margin:30px auto;
    padding:20px;
}

.card{
    background:#fff;
    border-radius:15px;
    padding:25px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

/* ==========================================
   Standard-Button
========================================== */

.button{
    display:inline-block;
    background:#0A4EA3;
    color:#fff;
    text-decoration:none;
    text-align:center;
    padding:14px 24px;
    border:none;
    border-radius:10px;
    font-weight:bold;
    cursor:pointer;
    transition:.2s;
}

.button:hover{
    background:#083b7d;
}

/* ==========================================
   Dashboard
========================================== */

.dashboard-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-top:20px;
}

.dashboard-btn{
    display:inline-block;
    min-width:180px;
    background:#fff;
    color:#0A4EA3;
    border:2px solid #fff;
    border-radius:10px;
    padding:14px 20px;
    text-align:center;
    text-decoration:none;
    font-weight:bold;
    transition:.2s;
}

.dashboard-btn:hover{
    background:#e9eef5;
}

/* ==========================================
   Infoboxen
========================================== */

.info{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:15px;
}

.info div{
    background:#eef4ff;
    border-left:5px solid #0A4EA3;
    padding:15px;
    border-radius:10px;
    font-weight:bold;
}

/* ==========================================
   Tabellen
========================================== */

table{
    width:100%;
    border-collapse:collapse;
}

th{
    background:#0A4EA3;
    color:#fff;
    padding:12px;
}

td{
    padding:10px;
    border-bottom:1px solid #ddd;
}

tr:nth-child(even){
    background:#f8f9fb;
}

tr:hover{
    background:#eef4ff;
}

/* ==========================================
   Footer
========================================== */

footer{
    margin-top:40px;
    background:#0A4EA3;
    color:#fff;
    text-align:center;
    padding:20px;
}

/* ==========================================
   Mobile
========================================== */

@media (max-width:768px){

    .header{
        padding:20px 15px;
    }

    .header h1{
        font-size:28px;
    }

    .header h2{
        font-size:18px;
    }

    .container{
        padding:10px;
    }

    .card{
        width:100%;
        padding:20px;
    }

    .dashboard-buttons{
        flex-direction:column;
        align-items:center;
    }

    .dashboard-btn{
        width:100%;
        max-width:320px;
    }

    .button{
        width:100%;
        margin-top:10px;
    }

    table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

}