/* Import Font dari Google */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    padding: 40px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 5px solid #3498db;
    padding-left: 15px;
}

/* Styling Tabel */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    color: #555;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

tr:hover {
    background-color: #fcfcfc;
}

/* Styling Form */
form {
    display: flex;
    flex-direction: column;
}

input[type="text"], 
input[type="number"], 
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* Styling Tombol & Link */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-add { background: #3498db; color: white; margin-bottom: 20px; }
.btn-add:hover { background: #2980b9; }

.btn-edit { color: #3498db; font-weight: bold; }
.btn-delete { color: #e74c3c; font-weight: bold; margin-left: 10px; }

.btn-submit { background: #2ecc71; color: white; padding: 15px; }
.btn-submit:hover { background: #27ae60; }

.btn-logout { background: #95a5a6; color: white; margin-top: 20px; }

.alert {
    padding: 10px;
    background: #e1f5fe;
    color: #01579b;
    border-radius: 4px;
    margin-bottom: 20px;
}