/* public/assets/css/style.css */
/* เนื่องจากเราใช้ CDN ของ Tailwind ใน Head เราจะใส่ Custom CSS ที่นี่ 
   และใช้ Google Kanit Font เป็นหลัก
*/

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;700&display=swap');
/* Sarabun จะใช้เมื่อจำเป็นสำหรับ Report */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;700&display=swap');

:root {
    --cerulean: #0081a7;
    --tropical-teal: #00afb9;
    --light-yellow: #fdfcdc;
    --soft-apricot: #fed9b7;
    --vibrant-coral: #f07167;
}

body {
    font-family: 'Kanit', sans-serif;
    background-color: #f4f7f6;
    /* สีพื้นหลังโทนสว่าง */
}

/* 4.5. ตกแต่ง: Button และ Card Header (Modern Gradient) */
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--cerulean) 0%, var(--tropical-teal) 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 129, 167, 0.4);
    border: none;
    font-weight: 600;
    /* Increased weight for clarity */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for contrast */
}

.btn-primary-gradient:hover {
    background: linear-gradient(135deg, var(--tropical-teal) 0%, var(--cerulean) 100%);
    box-shadow: 0 6px 20px rgba(0, 129, 167, 0.6);
}

/* Glassmorphism Effect for Features/Cards */
.glass-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
}

/* Curved Header (4.5) - ใช้สำหรับการ์ดใน Dashboard (เตรียมไว้) */
.curved-header {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background: linear-gradient(90deg, var(--cerulean), var(--tropical-teal));
    color: white;
    padding: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    /* Enhance white text visibility */
}

/* Mobile App Style - Menu Bar ด้านล่าง */
@media (max-width: 768px) {
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        padding: 0.5rem 0;
        background-color: white;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    }
}