/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ===== BODY ===== */
body {
    background: #f4f6f9;
    color: #333;
}

/* ===== HEADER ===== */
.header {
    background: #1e293b;
    color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.header a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1000px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ===== DASHBOARD CARDS ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: #2563eb;
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card h3 {
    margin-bottom: 10px;
}

/* ===== FORMS ===== */
form {
    max-width: 500px;
    margin: auto;
}

form h2 {
    text-align: center;
    margin-bottom: 20px;
}

input, button {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: #2563eb;
}

button {
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

/* ===== LINKS ===== */
.back-link {
    display: inline-block;
    margin-top: 15px;
    color: #2563eb;
    text-decoration: none;
}

/* ===== ALERT ===== */
.success {
    background: #dcfce7;
    color: #166534;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
}
