* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CARD */
.card {
    background: #ffffff;
    width: 100%;
    max-width: 380px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}

input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: #4facfe;
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(79,172,254,0.4);
}

/* DASHBOARD */
.dashboard {
    background: white;
    width: 90%;
    max-width: 700px;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    text-align: center;
}

.dashboard h2 {
    margin-bottom: 10px;
}

.dashboard a {
    display: block;
    margin: 15px 0;
    padding: 14px;
    background: #f4f6f8;
    border-radius: 12px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.dashboard a:hover {
    background: #4facfe;
    color: white;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

th {
    background: #f4f6f8;
}

/* RESPONSIVE */
@media(max-width: 1200px) {
    .card {
        max-width: 340px;
    }
}

@media(max-width: 900px) {
    .dashboard {
        max-width: 90%;
    }
}

@media(max-width: 500px) {
    .card, .dashboard {
        padding: 20px;
    }
}
