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

body {
    font-family: 'Sarabun', sans-serif !important;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 45%, #e0f2fe 100%);
    min-height: 100vh;
}

/* เอฟเฟกต์การ์ดแบบกระจก */
.card-glass {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

/* ปุ่มกดไล่สี */
.btn-gradient {
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    padding: 12px 20px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.btn-gradient:hover {
    color: white;
    transform: translateY(-1px);
}

/* ช่องกรอกข้อมูล */
.form-control-glass {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 12px 20px;
}

/* แถบหัวกระดานข้อความ */
.header-rounded {
    background: linear-gradient(90deg, #0369a1, #2563eb, #4338ca);
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    color: white;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

/* เมนูนำทางทรงรีแคปซูลบนสุด */
.top-menu-container {
    background: #ffffff;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-btn {
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
}

.menu-btn-default { border: 1px solid #e2e8f0; color: #64748b; }
.menu-btn-default:hover { background: #f8fafc; color: #334155; }

.menu-btn-active { background: #3b82f6; color: #ffffff; border: 1px solid #3b82f6; }
.menu-btn-active:hover { background: #2563eb; color: #ffffff; }

.menu-btn-admin-yellow { border: 1px solid #fbbf24; color: #64748b; }
.menu-btn-admin-yellow:hover { background: #fffbeb; }

.menu-btn-admin-cyan { border: 1px solid #06b6d4; color: #64748b; }
.menu-btn-admin-cyan:hover { background: #ecfeff; }