/* สไตล์หลักของระบบเกียรติบัตร */
/* Import ฟอนต์ Prompt */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

/* สไตล์หลักของระบบเกียรติบัตร */

/* กำหนดฟอนต์หลัก */
body {
    font-family: 'Prompt', sans-serif;
    background-color: #f8f9fa;
}

/* ส่วนที่เหลือเหมือนเดิม... */
/* กำหนดฟอนต์หลัก */
body {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    background-color: #f8f9fa;
}

/* ปรับแต่งส่วนหัว */
.navbar-brand {
    font-weight: bold;
}

/* ปรับแต่งการ์ด */
.card {
    margin-bottom: 20px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* ปรับแต่งตาราง */
.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* ปรับแต่งปุ่ม */
.btn {
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* ปรับแต่งฟอร์ม */
.form-control {
    border-radius: 4px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* ปรับแต่งส่วนท้าย */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* ปรับแต่งหน้าตรวจสอบเกียรติบัตร */
.certificate-details {
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #f8f9fa;
}

/* ปรับแต่งหน้าเข้าสู่ระบบและสมัครสมาชิก */
.auth-card {
    margin-top: 100px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ปรับแต่งสีข้อความ */
.text-primary {
    color: #007bff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-info {
    color: #17a2b8 !important;
}

/* ปรับแต่งเกียรติบัตร */
.certificate-preview {
    border: 1px solid #dee2e6;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
}

.certificate-code {
    color: #6c757d;
    font-size: 0.8rem;
}

/* ปรับแต่งรูปภาพ */
.img-thumbnail {
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
}

/* การตอบสนองของหน้าจอ */
@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .table-responsive {
        border: 0;
    }
}