/* หน้าทั้งหมด */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Sarabun', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* การจัดรูปแบบหัวข้อ */
.form-section-title {
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #0d6efd;
}

/* การปรับขนาด Input สำหรับมือถือ */
@media (max-width: 576px) {
    .form-control, .form-select, .btn {
        font-size: 1rem;
        padding: 12px;
    }
    
    label {
        font-size: 1rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
}

/* แบบประเมินคะแนน */
.rating-group {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.rating-item {
    text-align: center;
    flex: 1 0 auto;
    padding: 8px;
}

.rating-item input[type="radio"] {
    margin: 0 auto;
    display: block;
}

.rating-item label {
    margin-top: 5px;
    font-weight: 600;
}

/* การแสดงผลสำหรับผู้ดูแลระบบ */
.admin-dashboard {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.stats-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0d6efd;
}

.stats-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* W&W Brand Colors */
.bg-wnw-primary {
    background-color: #2d3c8e; /* W&W Navy Blue */
    color: white;
}

.bg-wnw-secondary {
    background-color: #e63323; /* W&W Red */
    color: white;
}

.text-wnw-primary {
    color: #2d3c8e;
}

.text-wnw-secondary {
    color: #e63323;
}

.btn-wnw-primary {
    background-color: #2d3c8e;
    border-color: #2d3c8e;
    color: white;
}

.btn-wnw-primary:hover {
    background-color: #24306e;
    border-color: #24306e;
    color: white;
}

.btn-wnw-secondary {
    background-color: #e63323;
    border-color: #e63323;
    color: white;
}

.btn-wnw-secondary:hover {
    background-color: #cc2d1f;
    border-color: #cc2d1f;
    color: white;
}
