/* Section Login */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background-color: #f8f8f8;
}

/* กล่อง Login */
.login-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}




/* หัวข้อ */
.login-box h2 {
    font-size: 24px;
    color: #5b1619;
    margin-bottom: 20px;
}

/* ช่องกรอกข้อมูล */
.login-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* ปุ่ม Login */
.login-box button {
    width: 100%;
    background: #b78b3c;
    color: #5b1619;
    border: none;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.login-box button:hover {
    background: #5b1619;
    color: #fff;
}

/* ลิงก์เพิ่มเติม */
.login-box .extra-links {
    margin-top: 10px;
}

.login-box .extra-links a {
    text-decoration: none;
    color: #5b1619;
    font-size: 14px;
    transition: color 0.3s;
}

.login-box .extra-links a:hover {
    color: #b78b3c;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .login-box {
        width: 90%;
    }
        .login-pos {
            width: 90%;
        }
}




/* ✅ Section ข้อมูลสมาชิก */
.profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background: #f8f8f8;
    padding: 50px 10px;
}

/* ✅ กล่องข้อมูล (ใหญ่ขึ้น) */
.profile-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
}

/* ✅ จัดให้ข้อมูลอยู่ 2 คอลัมน์ */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* ✅ หัวข้อ */
.profile-container h2 {
    color: #5b1619;
    margin-bottom: 20px;
    text-align: center;
}

/* ✅ ฟอนต์ของข้อมูล */
.profile-details p {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

/* ✅ Barcode */
.barcode-img {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 20px auto;
}

/* ✅ กล่องที่อยู่ */
.address-box {
    background: #f1f1f1;
    padding: 15px;
    border-radius: 6px;
    margin: 10px 0;
    text-align: left;
}

/* ✅ ปุ่ม */
.edit-button,
.add-button {
    display: inline-block;
    background: #b78b3c;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    margin-top: 20px;
}

.edit-button:hover,
.add-button:hover {
    background: #5b1619;
}

/* ✅ Responsive สำหรับมือถือ */
@media (max-width: 768px) {
    .profile-content {
        grid-template-columns: 1fr;
        /* ใช้คอลัมน์เดียว */
        text-align: center;
    }

    .profile-container {
        max-width: 100%;
        padding: 20px;
    }

    .edit-button,
    .add-button {
        width: 100%;
    }
}






