* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --hijau-mint: #b8e0d2;
    --hijau-pastel: #d6eadf;
    --hijau-tua: #2d7d6f;
    --hijau-medium: #4aa392;
    --putih: #ffffff;
    --abu-muda: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--hijau-pastel);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(135deg, var(--hijau-tua) 0%, var(--hijau-medium) 100%);
    color: white;
    padding: 25px 0;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    margin-bottom: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-container {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hijau-tua);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.logo p {
    font-size: 1rem;
    opacity: 0.9;
}

.nav {
    background-color: var(--hijau-medium);
    padding: 12px 0;
    border-radius: 0 0 15px 15px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

.nav li {
    margin: 0 20px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background-color: var(--hijau-tua);
    transform: translateY(-2px);
}

.main-content {
    background-color: var(--putih);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.card {
    background-color: var(--putih);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--hijau-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h2 {
    color: var(--hijau-tua);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--hijau-mint);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--hijau-tua);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-control:focus {
    border-color: var(--hijau-medium);
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 171, 154, 0.2);
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--hijau-medium), var(--hijau-tua));
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background: linear-gradient(to right, #28a745, #20c997);
}

.btn-danger {
    background: linear-gradient(to right, #dc3545, #e35d6a);
}

.btn-info {
    background: linear-gradient(to right, #17a2b8, #39c0d3);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.table th, .table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.table th {
    background-color: var(--hijau-mint);
    color: var(--hijau-tua);
    font-weight: 600;
}

.table tr:hover {
    background-color: rgba(184, 224, 210, 0.2);
}

.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 500;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.status-menunggu {
    background-color: #fff3cd;
    color: #856404;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}

.status-dipanggil {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}

.status-selesai {
    background-color: #d4edda;
    color: #155724;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 5px;
}

.badge-umum {
    background-color: #e9f7ef;
    color: #27ae60;
}

.badge-gigi {
    background-color: #e8f4fd;
    color: #2980b9;
}

.badge-kia {
    background-color: #fdf2e9;
    color: #e67e22;
}

.badge-lab {
    background-color: #f4ecf7;
    color: #8e44ad;
}

.footer {
    text-align: center;
    padding: 25px 0;
    color: var(--hijau-medium);
    font-size: 0.9rem;
    border-top: 1px solid var(--hijau-mint);
}

.hero {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(214, 234, 223, 0.8) 0%, rgba(184, 224, 210, 0.8) 100%);
    border-radius: 15px;
    margin-bottom: 30px;
}

.hero h1 {
    color: var(--hijau-tua);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--hijau-medium);
    margin-bottom: 15px;
}

.feature h3 {
    color: var(--hijau-tua);
    margin-bottom: 10px;
}

.queue-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--hijau-tua);
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, var(--hijau-pastel) 0%, var(--hijau-mint) 100%);
    border-radius: 15px;
    border: 3px dashed var(--hijau-medium);
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav li {
        margin: 5px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}