@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600&display=swap');

:root {
    --primary: #ffcc00;
    --bg: #0f0f0f;
    --card: rgba(25, 25, 25, 0.9);
}

body {
    font-family: 'Kanit', sans-serif;
    background: var(--bg) url('http://wallpaperaccess.com/full/223253.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    margin: 0;
}

nav {
    background: rgba(0,0,0,0.9);
    border-bottom: 2px solid var(--primary);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: white; text-decoration: none; font-size: 14px; }

.hero {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0,0,0,0.6);
}

.container { max-width: 1100px; margin: 20px auto; padding: 0 20px; }

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.card-header {
    background: rgba(255, 204, 0, 0.1);
    padding: 15px;
    color: var(--primary);
    font-weight: 600;
}

.card-body { padding: 20px; }

input, select {
    width: 100%; padding: 12px; margin-bottom: 10px;
    background: #222; border: 1px solid #444; color: white; border-radius: 5px;
}

.btn-submit {
    width: 100%; padding: 12px; background: var(--primary);
    border: none; font-weight: bold; cursor: pointer; border-radius: 5px;
}

.table-responsive { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
th, td { padding: 12px; text-align: center; border-bottom: 1px solid #333; }

.btn-view { background: var(--primary); color: black; padding: 5px 10px; text-decoration: none; border-radius: 5px; font-size: 12px; }

.error { color: #ff4d4d; }

@media (max-width: 600px) {
    .nav-container { flex-direction: column; gap: 10px; }
}