.donate-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    background: url('../img/donate-banner.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn{
    font-size: 22px !important;
}

.form-select{
    font-size: 22px !important;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.donate-content {
    position: relative;
    z-index: 2;
    max-width: 450px;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0px 15px;
}

.donate-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 10px;
}

.donate-content h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 35px;
}

.btn-orange {
    width: 100%;
    font-size: 22px;
    background: #ff6900;
    color: #fff;
}

.btn-orange:hover {
    background: #ff7d20;
}

.btn-blue {
    width: 100%;
     font-size: 22px;
    background: #032e57;
    color: #fff;
}

.btn-blue:hover {
    background: #0a4278;
}

.donate-benefits {
    list-style: none;
    margin: 35px 0;
    padding: 0;
    text-align: center;
}

.donate-benefits li {
    display: inline-block;
    text-align: left;
    margin-bottom: 15px;
    margin-left: 20px;
    font-size: 25px;
    color: #fff;
    width: 100%;
    max-width: 350px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.donate-benefits i {
    color: #ff6900;
    font-size: 18px;
    flex-shrink: 0;
}

.divider {
    display: flex;
    align-items: center;
    justify-donate-content: center;
    gap: 20px;
    margin: 35px 0;
}

.divider span {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .4);
}

.divider p {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

/* --------- donate auth --------- */

.auth-container {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    min-height: 60vh;
}

.auth-box {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.auth-box h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    text-align: left;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.auth-options {
    text-align: right;
    margin-bottom: 20px;
}

.link-email {
    color: #ff6900;
    font-weight: 600;
    text-decoration: none;
}

.otp-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 22px;
    color: #666;
    margin-bottom: 25px;
    text-align: left;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.btn-otp {
    width: 100%;
    padding: 15px;
    background: #f0f0f7; 
    color: #888;
    border: none;
    border-radius: 8px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}

.btn-otp:hover {
    background: #e0e0e0;
}

.otp-boxes{
    display:flex;
    justify-content:center;
    gap:12px;
    margin:20px 0;
}

.otp-digit{
    width:56px;
    height:56px;
    border:1px solid #d9d9d9;
    border-radius:10px;
    text-align:center;
    font-size:28px;
    font-weight:700;
    transition:.2s;
}

.otp-digit:focus{
    outline:none;
    border-color:#032e57;
    box-shadow:0 0 0 3px rgba(3,46,87,.1);
}

.otp-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:15px;
    gap:15px;
}

.btn-resend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    color: #8a8a8a;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    outline: none;
}

.btn-resend:hover:not(:disabled) {
    background: #f8f8f8;
    border-color: #032e57;
    color: #032e57;
}

.btn-resend:active:not(:disabled) {
    transform: scale(.98);
}

.btn-resend:disabled {
    background: #f5f5f5;
    border-color: #d9d9d9;
    color: #676161;
    cursor: not-allowed;
    opacity: 1;
}

.register-container{

    max-width:600px;

    margin:auto;

    padding:40px 20px;

}

.register-header {
    margin-bottom: 40px;
}

.btn-back {
    display:flex;
    gap: 5px;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.register-header h2 {
    margin: 0;
    text-align: center;
    font-size: 35px;
    font-weight: 700;
}

.register-step {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 50px;
    width: 100%;
}

.step {
    width: 90px;
    text-align: center;
    flex-shrink: 0;
}

.step span {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf0fa;
    color: #999;
    font-weight: 700;
    font-size: 22px;
}

.step.active span {
    background: #FBB801;
    color: #fff;
}

.step label {
    margin-top: 10px;
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: #999;
    line-height: 1.35;
}

.step.active label {
    color: #222;
}

.line {
    flex: 1;
    height: 2px;
    margin: 20px 10px 0;
    background: #edf0fa;
}

.upload-card{
    text-align:center;
    margin-bottom:10px;
}

.upload-card img{

    width:100%;

    max-width:400px;

}

.upload-title{

    text-align:center;

    margin-bottom:40px;

}

.guide-title{

    text-align:center;

    font-weight:700;

    margin-bottom:25px;

}

.guide-item{

    display:flex;

    gap:15px;

    margin-bottom:20px;

}

.guide-icon{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#eef4ff;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#90baff;

}

.guide-text{

    flex:1;

    color:#666;

    line-height:1.7;

}

.btn-register{

    width:100%;

    border:none;

    background:#FBB801;

    color:#fff;

    height:56px;

    border-radius:10px;

    font-size:25px;

    font-weight:700;

}

.header_title_regis{
    font-size: 45px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* ปุ่มเลือกไฟล์ */
.btn-upload {
    width: 100%;
    height: 50px;
    border-radius: 14px;
    background: #fff;
    border: 2px solid #FDB913;
    color: #FDB913;
    font-size: 25px;
    font-weight: 700;
    transition: .25s;
    margin-bottom: 25px;
}

.btn-upload:hover {
    background: #FFF8E8;
}

/* ปุ่มถัดไป */
.btn-next {
    width: 100%;
    height: 56px;
    margin-top: 15px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(180deg,#FFC72C,#F4A900);
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    transition: .25s;
}

.btn-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(244,169,0,.35);
}

.btn-next:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.register-step .step.completed span{
    background: #22c55e;
    border-color: #22c55e;
    color:#fff;
}

.register-step .step.completed label{
    color:#22c55e;
    font-weight:600;
}

.register-step .line.active{
    background:#22c55e;
}

.payment-header .title{
    text-align: center;
    font-weight: bold;
}

.donate-payment-page{

    max-width:650px;

    margin:auto;

    padding:40px 15px;

}

.payment-card{

    background:#fff;

    border-radius:14px;

    padding:30px;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.donation-type{

    display:flex;

}

.donation-type button{

    flex:1;

    border:none;

    height:46px;

    background:#f3f3f3;

    font-weight:600;

    border-radius: 7px;

}

.donation-type .active{

    background:#FBB801;

    color:#000;

}

.amount-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:12px;

    margin-top:20px;

}

.amount-grid button{

    height:52px;

    border:1px solid #ededed;

    background:#fff;

    border-radius:8px;

    font-weight: bold;

}

.amount-grid .active{

    background:#FBB801;

    color:#fff;

    border-color:#FBB801;

}

.summary-box{

    margin-top:35px;

    font-size: 27px;

}

.condition-box{

    margin-top:15px;

    font-size:24px;

    line-height:1.2;

}

.payment-method-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.payment-method input[type="radio"]{
    display:none;
}

.payment-method{
    display:block;
    margin:0;
    cursor:pointer;
}

.payment-method-box{

    display:flex;
    align-items:center;

    width:100%;

    height:56px;

    padding:0 18px;

    border:1px solid #dcdcdc;

    border-radius:6px;

    background:#fff;

    transition:.2s;

    font-weight:500;

}

.payment-method input:checked + .payment-method-box{

    border:1px solid #ff6a00;

    color:#ff6a00;

    background:#fff;

}

.payment-method-box i{

    font-size:18px;

    margin-right:10px;

}

.receipt-method-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.receipt-method input{
    display:none;
}

.receipt-box{
    display:flex;
    align-items:center;
    gap:12px;
    padding:20px;
    border:1px solid #d9d9d9;
    border-radius:12px;
    cursor:pointer;
    transition:.2s;
}

.receipt-method input:checked + .receipt-box{
    border:2px solid #ff6b00;
    background:#fffaf6;
}

.receipt-box i{
    font-size:22px;
    color:#ff6b00;
}

.consent-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px 20px;
    border:1px solid #ddd;
    border-radius:10px;
    cursor:pointer;
    transition:.2s;
}

.consent-item input{
    margin:0;
}

.consent-item.active{
    border-color:#ff6b00;
    background:#fff7f0;
}

.confirm-text{
    font-size:24px;
    line-height:1.2;
    color:#222;
}

.confirm-control{
    background:#f5f5f5;
    border:none;
    border-radius:8px;
    min-height:54px;
    display:flex;
    align-items:center;
    font-weight:600;
}

.signature-wrapper{
    border:1px solid #d8d8d8;
    border-radius:8px;
    padding:10px;
    background:#fff;
}

#signature-pad{
    width:100%;
    height:220px;
    display:block;
}

.donation-tab.disabled,
.payment-method.disabled{
    opacity:.5;
    cursor:not-allowed;
    pointer-events:none;
}

@media (max-width: 768px) {

    .register-step {
        margin-bottom: 35px;
    }

    .step {
        width: 65px;
    }

    .step span {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }

    .step label {
        font-size: 22px;
        margin-top: 8px;
        word-break: break-word;
    }

    .line {
        margin: 16px 6px 0;
    }

}

@media(max-width:576px){

    .otp-boxes{
        gap:8px;
    }

    .otp-digit{
        width:46px;
        height:46px;
        font-size:22px;
    }

    .otp-footer{
        flex-direction:column;
        align-items:flex-start;
    }

}

@media (max-width: 480px) {

    .step {
        width: 55px;
    }

    .step span {
        width: 35px;
        height: 35px;
        font-size: 25px;
    }

    .step label {
        font-size: 20px;
        line-height: 1.3;
    }

    .line {
        margin: 14px 4px 0;
    }

}