:root {

    --text-color: #0B34A2;
}




/*======================================================*/

.form-container {
    max-width: 1100px;
    width: 90%;
    margin: 10px auto;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    border-radius: 0.35rem;
    background: white;
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--text-color) 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.form-header h2 {
    margin: 0;
    font-weight: 700;
}

.form-header p {
    margin-bottom: 0;
}

.form-body {
    padding: 30px;
}

.form-control {
    padding: auto;
    height: 40px;
}

.btn-form {
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: white;
    padding: 10px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.35rem;
    transition: all 0.2s;
}

.btn-form:hover {
    opacity: .9;
    color: #fff;
    transform: translateY(-2px);
}

.image_comp_row {
    background: #f0f4ff;
    border-left: 2px solid var(--text-color);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 0px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.payment-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 15px;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.payment-details {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.membership-info {
    margin-bottom: 1.5rem;
}

.membership-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.membership-info .membership-content {
    color: #555;
    line-height: 1.6;
}

.account-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--text-color);
}

.account-details h4 {
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.account-details p {
    margin: 0.5rem 0;
    color: #444;
    font-size: 0.95rem;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 250px;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px dashed #ccc;
    border-radius: 8px;
}

.qr-code img {
    max-width: 100%;
    max-height: 100%;
}

.qr-placeholder {
    color: #888;
    text-align: center;
    padding: 1rem;
}

.download-btn {
    background: linear-gradient(to right, #4a6bdf, #6a5acd);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(74, 107, 223, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(74, 107, 223, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}



/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-details,
.qr-section {
    animation: fadeIn 0.6s ease-out forwards;
}

.qr-section {
    animation-delay: 0.2s;
}

/*======================================================*/

@media only screen and (max-width: 768px) {
    .form-container {
        width: 100%;
        border-radius: 0;
        margin-top: 0;
    }

    .form-body {
        padding: 20px 20px;
    }

    .amount-btn {
        flex: 1 0 calc(33% - 10px);
    }

    .form-control {
        height: 50px;
        margin-bottom: 25px;
    }

    .form-group label {
        margin-bottom: 8px;
        font-size: 16px;
        color: #555555 !important;
    }

    .upload_image_main_div.bg-image-div {
        margin-bottom: 10px;
    }

    .line-all {
        display: none;
    }

    .payment-container {
        flex-direction: column;
        padding: 0;
        background: transparent;
    }

    .payment-details,
    .qr-section {
        width: 100%;
        padding: 10px;
    }

    .qr-section {
        order: -1;
        box-shadow: none;
        background: #f8f9fa;
    }

    .image_comp_row {
        margin-bottom: 15px;
    }

    .image_comp_row .form-control,
    .image_comp_row label {
        margin: 0;
    }

    .payment-details {
        padding: 0;
        box-shadow: none;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-details,
.qr-section {
    animation: fadeIn 0.6s ease-out forwards;
}

.qr-section {
    animation-delay: 0.2s;
}

















/*-----------------row1---------------------------*/
body {
    background: linear-gradient(90deg, rgba(233, 233, 240, 1) 48%, rgba(227, 241, 241, 1) 100%);
}

.jq-toast-wrap {
    z-index: 99999999 !important;
}

/* ------------------------iamge preview------------------ */
.image_div_col {
    position: relative;
    /* border: 1px solid red; */
    border-radius: 10px;
}

.image_div_col img {
    position: absolute;
    height: 90%;
    /*width: 100%;*/
    top: 50%;
    transform: translateY(-50%);
    left: 30px;
}

.image_div_col label {
    position: absolute;
    font-size: 40px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    right: 30px;
}

.image_div_col label i {
    color: gray;
}

.image_preview_div {
    border: 2px solid gray;
    height: 100%;
    border-radius: 10px;
}

.btn-grad {
    background: rgb(255, 17, 25);
    background: linear-gradient(180deg, rgba(255, 17, 25, 1) 0%, rgba(255, 173, 39, 1) 100%);
}

.btn-grad {
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
}

.btn-grad:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.nav-heading {
    /* position:absolute; */
    color: #fff !important;
    font-weight: bold;
    left: 45%;
}

.line {
    width: 100%;
    height: 2px;
    margin-bottom: 20px;
    margin-top: 40px;
    background: rgb(204, 204, 204);
}

.line-all {
    width: 101%;
    height: .5px;
    margin-bottom: 20px;
    margin-top: 8px;
    background: #bababa;
}

label {
    font-weight: bold;
    font-size: 14px;
    color: rgb(51, 51, 51) !important;
    margin: 0;
}

#red {
    color: #ff5959;
}

.nav2 {
    display: none;
}

/*input[type=text], input[top: ;ype=password], input[type=file], input[type=email], input[type=date], input[type=number], select,textarea {*/
/*border: 1px solid  var(--text-color) !important;*/
/*}*/
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=file]:focus,
input[type=date]:focus,
option:focus,
input[type=number]:focus,
textarea:focus,
select:focus {
    border: 1px solid var(--text-color) !important;
    /*box-shadow: 0px 0px 8px var(--text-color) !important;*/
}



@media screen and (max-width:970px) {
    .container {
        margin-top: 40px !important;
        max-width: 95% !important;
    }

    .modal-body .container {
        margin-top: 0px !important;
    }
}

@media screen and (max-width:780px) {
    .container {
        margin-top: 40px !important;
        max-width: 98% !important;
    }

    .modal-body .container {
        margin-top: 0px !important;
    }

    .nav2 {
        display: block;
        text-align: center;
        z-index: -1;
    }

    .nav-head {
        font-size: 18px;
    }

    nav button {
        font-size: 12px !important;
        padding: 2px 4px 2px 4px !important;
    }

    /*
.nav-heading {
display: none;
} */
    .admin-home {
        position: absolute;
        top: 60.5px;
        right: 0px;
    }

    .line-all {
        width: 104%;
        margin-left: -13px !important;
    }

}

@media screen and (max-width:600px) {
    .nav2 {
        text-align: left;
    }
}

/* -------------------------------------------------------- */

/* ===== FAMILY MEMBER ROWS ===== */
.member_input_row {
    background: #f8f9ff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.member_input_row:hover {
    box-shadow: 0 4px 14px rgba(11, 52, 162, 0.1);
}

.member_row_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: color-mix(in srgb, var(--text-color) 8%, #fff);
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
}

.member_row_num {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.member_input_row>.row {
    padding: 14px 12px 12px;
    margin: 0;
}

.delete_member_btn {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 6px;
    color: var(--red);
    cursor: pointer;
    font-size: 13px;
    padding: 4px 10px;
    transition: all 0.2s;
    line-height: 1;
}

.delete_member_btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.add_member_btn {
    background: var(--text-color);
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.add_member_btn:hover {
    opacity: 0.88;
    color: #fff;
}

/* ===== RESPONSE MODALS ===== */
.uf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    padding: 16px;
}

.uf-modal {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: ufModalIn 0.25s ease;
}

@keyframes ufModalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.uf-modal-icon {
    font-size: 56px;
    margin-bottom: 14px;
    line-height: 1;
}

.uf-modal-success .uf-modal-icon {
    color: #22c55e;
}

.uf-modal-error .uf-modal-icon {
    color: #ef4444;
}

.uf-modal h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a1a2e;
}

.uf-modal p {
    font-size: 14px;
    color: #555;
    margin: 0 0 8px;
    line-height: 1.6;
}

.uf-reg-box {
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    padding: 12px 20px;
    margin: 14px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uf-reg-box span {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.uf-reg-box strong {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: 2px;
}

.uf-note {
    font-size: 12.5px !important;
    color: #888 !important;
    font-style: italic;
    margin-top: 6px !important;
}

.uf-modal-btn {
    margin-top: 18px;
    padding: 10px 32px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.uf-btn-success {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.uf-btn-success:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.uf-btn-error {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.uf-btn-error:hover {
    background: #dc2626;
    transform: translateY(-1px);
}