/* css/style.css */
body {
    background-color: #d24dff;
}
.hero-section {
    background: url('https://images.unsplash.com/photo-1471295253337-3ceaa6ca662b?q=80&w=2070') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
.form-signin {
    max-width: 400px;
    padding: 1rem;
}
.navbar-nav .nav-link.btn {
    padding: 0.4rem 1rem;
    line-height: 1.5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: 0;
    height: 1px;
    background-color: #dee2e6;
    margin: 2rem 0;
}

/* Tombol */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Form */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-sizing: border-box;
    margin-top: 5px;
}

form div, form button {
    margin-top: 1rem;
}

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

th, td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

th {
    background-color: #e9ecef;
}

tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}
/* Anda bisa meletakkan ini di file .css atau di dalam tag <style> */
.pesan-sukses, .pesan-pending, .pesan-gagal {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: Arial, sans-serif;
}

.pesan-sukses {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.pesan-pending {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.pesan-gagal {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.link-riwayat {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.link-riwayat:hover {
    background-color: #0056b3;
}