@import url('https://fonts.googleapis.com/css2?family=Prompt&display=swap');



body {
    font-family: 'Prompt', sans-serif;
    background-color: #fff; /* Light gray background */
    margin: 0;
    padding: 0;
}

/* --- Header Styling --- */
header {
    background-color: #fff; /* White background for the very top part */
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
}

header .top-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

header .logo {
    max-width: 100px; /* Adjust logo size as per image */
    height: auto;
}

header .site-name {
    color: #000; /* Black text for site name */
    font-size: 0.9rem;
    margin-top: 5px;
}

header .contact-info {
    color: #000; /* Black text for contact info */
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Space between phone and email */
    margin-top: 10px;
}

header .contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

header .contact-info img {
    width: 20px; /* Icon size */
    height: 20px;
    filter: none; /* Icons are black as per image */
}

/* Horizontal line below contact info */
.header-divider {
    border-top: 3px solid #ff7300; /* Light gray line */
    margin: 15px auto; /* Center the line */
    width: 100%; /* Adjust width as needed */
}

/* Navigation Bar Styling */
.navbar-custom {
    background-color: #fff; /* White background for nav bar */
    padding: 5px 0;
    border-radius: 0;
    border-bottom: 1px solid #ccc; /* Light gray line below nav */
}

.navbar-custom .navbar-nav .nav-link {
    color: #000 !important; /* Black text for nav links */
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05); /* Light hover effect */
}

.navbar-custom .navbar-nav .nav-item.active .nav-link {
    background-color: #FF9D20; /* Highlight for active link (orange) */
    color: #fff !important; /* White text for active link */
    border-radius: 5px; /* Rounded corners for active link */
}

.navbar-custom .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.5);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Specific button for "สมัครสมาชิก" */
.btn-register-nav {
    background-color: #FF9D20; /* Orange background */
    color: #fff !important; /* White text */
    border-radius: 20px; /* Rounded pill shape */
    padding: 8px 20px;
    font-weight: bold;
    margin-left: 15px; /* Space from other nav items */
}

.btn-register-nav:hover {
    background-color: #e8491d; /* Darker orange on hover */
}

.navbar-custom .social-icons img {
    width: 24px;
    height: 24px;
    filter: none; /* Black icons */
    margin-left: 10px;
}

/* Login/User Status Bar (Removed, integrated into main content or nav) */
/* The image shows login buttons directly below the header, not a separate bar */

/* --- Main Content Area --- */
.main-content {
    background-color: #fff; /* Light gray background for content area */
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Form Styling --- */
/* Buttons that look like input fields */
.btn-form-input {
    background-color: #FF9D20; /* Orange background */
    color: #fff;
    font-weight: bold;
    padding: 15px 20px; /* Larger padding */
    border-radius: 8px; /* Rounded corners */
    width: 100%; /* Full width */
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block; /* Ensure it behaves like a block element */
    text-decoration: none; /* Remove underline for links */
}

.btn-form-input:hover {
    background-color: #e8491d; /* Darker orange on hover */
    color: #fff; /* Keep text white on hover */
}

.btn-form-input.disabled {
    opacity: 0.65;
    pointer-events: none;
}


.form-control,
.form-select {
    border-radius: 8px; /* More rounded input fields */
    padding: 12px 15px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    background-color: #fff; /* Ensure white background */
    text-align: center; /* Center text as per image */
    font-weight: bold; /* Bold text as per image */
    color: #333; /* Dark text color */
}

.form-control::placeholder {
    color: #666; /* Placeholder color */
    font-weight: bold;
}

.form-control:focus,
.form-select:focus {
    border-color: #FF9D20;
    box-shadow: 0 0 0 0.25rem rgba(255, 127, 0, 0.25);
}

.btn-orange-primary {
    background-color: #FF9D20; /* Primary orange button */
    border-color: #FF9D20;
    color: #fff;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 25px; /* Very rounded buttons */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-orange-primary:hover {
    background-color: #e8491d; /* Darker orange on hover */
    border-color: #e8491d;
}

.btn-light-orange { /* For "เลือกไฟล์" buttons */
    background-color: #f7a950; /* Lighter orange */
    border-color: #f7a950;
    color: #fff;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-light-orange:hover {
    background-color: #FF9D20;
    border-color: #FF9D20;
}

/* Specific styling for login form */
.login-form-container {
    max-width: 400px; /* Limit width of login form as per image */
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    /* No background or shadow here, it's part of the main-content */
}

.login-form-container .mb-3 {
    margin-bottom: 15px; /* Adjust spacing between buttons/inputs */
}

.login-form-container .text-orange {
    color: #FF9D20 !important; /* Orange text for "ลืมรหัสผ่าน?" */
    font-weight: bold;
}

/* Upload Amulet Form Specifics */
.upload-file-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.upload-file-group .form-control-file {
    flex-grow: 1; /* Make input take available space */
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff; /* Ensure white background for file input area */
}

/* --- Footer Styling --- */
footer {
    background-color: #fff; /* White background for footer */
    color: #000; /* Black text for footer */
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #ccc; /* Light gray line above footer */
}

footer .footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer .footer-logo-section h4 {
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: bold;
}

footer .footer-logo-section p {
    font-size: 0.9rem;
}

footer .footer-contact-info {
    text-align: right;
}

footer .footer-contact-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

footer .qr-code img {
    width: 100px;
    height: 100px;
    margin-top: 15px;
    border: 5px solid #fff; /* White border around QR code */
    border-radius: 5px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    header .top-header-content {
        flex-direction: column;
        text-align: center;
    }
    header .contact-info {
        margin-top: 10px;
        justify-content: center;
    }
    .navbar-custom .navbar-collapse {
        background-color: #fff; /* White background for collapsed menu */
        padding: 10px;
        border-radius: 5px;
        margin-top: 10px;
        border: 1px solid #eee; /* Light border for collapsed menu */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .navbar-custom .navbar-nav .nav-item {
        margin-bottom: 5px;
    }
    .footer-contact-info {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {
    .main-content {
        padding: 20px;
    }
    .btn-orange-primary {
        padding: 10px 20px;
    }
    .form-control {
        padding: 10px 12px;
    }
}