.body{
    background-color: #BF1E34;
}
.btn-deny {
    width: 200px;
    /* ✅ กำหนดความกว้าง */
    margin-right: 13px;
    margin-top: 50px;
    /* ✅ ระยะห่างด้านขวา */
}

.btn-confirm {
    width: 200px;
    /* ✅ กำหนดความกว้าง */
    margin-top: 50px;
    /* ✅ ระยะห่างด้านขวา */
}

.swal-title-red {
    color: #FF0000;
    font-size: 20px;
    font-weight: 400;
}

.btn-primary {
    box-sizing: border-box;
    background: #036FD6;
    border: 1px solid #036FD6;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    width: 200px;
    height: 45px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    transform: rotate(0deg);
    /* top/left จะไม่มีผลหากไม่ใช้ position absolute */
    /* จัดให้ข้อความอยู่กึ่งกลาง */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary:hover {
    background-color: #025bb3;
    color: #ffffff;
}

.btn-outline-red {
    box-sizing: border-box;
    height: 50px;
    /* แทนการ fix width */
    background-color: transparent;
    border: 1px solid #FF0000;
    border-radius: 10px;
    color: #FF0000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-outline-red:hover {
    background-color: #BF1E34;
    color: white;
}

.text-primary {
    color: #036FD6 !important;
}

.input-white {
    width: 180px;
    height: 45px;
    background-color: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 10px;
    font-size: 14px;
    padding: 8px 12px;
    color: #000;
}

.btn-outline-blue {
    box-sizing: border-box;
    width: 78px;
    height: 45px;
    background-color: #FFFFFF;
    border: 1px solid #036FD6;
    border-radius: 10px;
    color: #036FD6;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-blue:hover {
    background-color: #036FD6;
    color: #ffffff;
}

.btn-outline-blue:hover a {
    color: #ffffff !important;
}

.btn-primary-absolute {
    position: absolute;
    width: 180px;
    height: 45px;
    left: 1285px;
    top: 131px;
    background-color: #036FD6;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary-absolute:hover {
    background-color: #025bb3;
    color: #ffffff;
}

.group-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.group-option {
    background-color: #ffffff;
    border: 1px solid #036FD6;
    border-radius: 10px;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* ✅ ทำให้เนื้อหาชิดซ้าย */
    padding: 0 15px;
    font-weight: 500;
    cursor: pointer;
    color: #036FD6;
}

.group-option input[type="radio"] {
    margin-right: 10px;
}

.group-option:hover {
    background-color: #F0F8FF;
    /* optional: สี hover */
}

.group-option input[type="radio"] {
    margin-right: 10px;
}

.group-option input[type="radio"] {
    margin: 0;
    padding: 0;
    appearance: none;
    /* ลบสไตล์พื้นฐาน */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #036FD6;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    /* ✅ ให้เว้นขวาเฉพาะนี้ */
}

.group-option input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #036FD6;
    border-radius: 50%;
}

.btn-outline-red {
    box-sizing: border-box;
    height: 45px;
    /* แทนการ fix width */
    background-color: transparent;
    border: 1px solid #FF0000;
    border-radius: 10px;
    color: #FF0000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-outline-red:hover {
    background-color: #BF1E34;
    color: white;
}

.status-option {
    width: 289px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #036FD6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
    cursor: pointer;
}

.status-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.status-option:nth-of-type(1) {
    border-color: #FF9000;
    color: #FF9000;
}

.status-option:nth-of-type(2) {
    border-color: #38650B;
    color: #38650B;
}

.status-option:nth-of-type(3) {
    border-color: #FF0000;
    color: #FF0000;
}

.status-active {
    width: 155px;
    height: 30px;
    border-radius: 6px;
    background-color: #E8F2E9;
    color: #6EA16D;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
}

.status-pending {
    width: 155px;
    height: 30px;
    border-radius: 6px;
    background-color: #FFE9E1;
    color: #FF6A00;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
}

.status-disabled {
    width: 155px;
    height: 30px;
    border-radius: 6px;
    background-color: #FFEDED;
    color: #FF0000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
}

.close-btn {
    position: absolute;
    top: 10px;
    /* ระยะจากบน */
    right: 10px;
    /* ระยะจากขวา */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.close-btn img {
    width: 20px;
    /* ปรับขนาดรูป */
    height: 20px;
}

.search-box {
    position: relative;
    width: 384px;
    height: 45px;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    overflow: hidden;
    /* ทำให้ภาพไม่ล้นออกนอกกรอบ */
}

.search-input {
    width: 100%;
    height: 100%;
    padding: 10px 55px 10px 17px;
    /* เว้นด้านขวาให้ icon */
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #999999;
    border: none;
    outline: none;
    background: transparent;
    box-sizing: border-box;
}

.search-button {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #999999;
}

.divider {
    height: 27px;
    border-left: 1px solid #999999;
}

.text-primary {
    color: #036FD6 !important;
}

.f500 {
    font-weight: 500;
}

.fs-32 {
    font-size: 32px;
}

.fs-16 {
    font-size: 16px;
}

.fs-20 {
    font-size: 20px;
}

.fs-14 {
    font-size: 14px;
}

.fs-24 {
    font-size: 24px;
}

.fs-20 {
    font-size: 20px;
}