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

body{
    font-family:Segoe UI,Arial,sans-serif;
    background:#f3f5f8;
    color:#333;
}

.container{
    width:90%;
    max-width:1000px;
    margin:40px auto;
}

.login-card{
    max-width:420px;
    margin:100px auto;
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.login-card h1{
    text-align:center;
    margin-bottom:30px;
    color:#c62828;
}

input,
select,
textarea{
    width:100%;
    padding:14px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}

textarea{
    min-height:120px;
    resize:vertical;
}

button{
    width:100%;
    padding:15px;
    background:#c62828;
    color:white;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
}

button:hover{
    background:#a81f1f;
}

.error{
    background:#ffd7d7;
    color:#900;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:40px;
}

.card{
    background:white;
    padding:40px;
    border-radius:15px;
    text-align:center;
    text-decoration:none;
    color:#333;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

label{
    display:block;
    margin-bottom:8px;
    margin-top:15px;
    font-weight:600;
}

h1{
    margin-bottom:30px;
    color:#c62828;
}
table{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

th{
    background:#c62828;
    color:white;
    padding:15px;
}

td{
    padding:15px;
    border-bottom:1px solid #eee;
}

tr:hover{
    background:#fafafa;
}

.button-link{
    display:inline-block;
    background:#c62828;
    color:white;
    text-decoration:none;
    padding:12px 20px;
    border-radius:10px;
}
.button-small{
    display:inline-block;
    padding:8px 12px;
    margin:2px;
    border-radius:8px;
    text-decoration:none;
    color:white;
    background:#1976d2;
    font-size:14px;
}

.button-small.edit{
    background:#ff9800;
}

.button-small.delete{
    background:#d32f2f;
}