/* Public route layout. Visual tokens live in theme.css. */







.form-container {
    max-width: 1100px;
    width: 90%;
    margin: 10px auto;
    
    border-radius: 0.35rem;
    
    overflow: hidden;
}

.form-header {
    
    
    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 {
    
    
    
    padding: 10px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.35rem;
    transition: all 0.2s;
}

.btn-form:hover {
    opacity: .9;
    
    transform: translateY(-2px);
}

.image_comp_row {
    
    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 {
    
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    
    border-radius: 15px;
    
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.payment-details {
    flex: 1;
    min-width: 300px;
    
    padding: 1.5rem;
    border-radius: 10px;
    
}

.membership-info {
    margin-bottom: 1.5rem;
}

.membership-info h3 {
    
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.membership-info .membership-content {
    
    line-height: 1.6;
}

.account-details {
    
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--text-color);
}

.account-details h4 {
    
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.account-details p {
    margin: 0.5rem 0;
    
    font-size: 0.95rem;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    padding: 1.5rem;
    border-radius: 10px;
    
    min-width: 250px;
}

.qr-code {
    width: 180px;
    height: 180px;
    
    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 {
    
    text-align: center;
    padding: 1rem;
}

.download-btn {
    
    
    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;
    
}

.download-btn:hover {
    transform: translateY(-2px);
    
}

.download-btn:active {
    transform: translateY(0);
}




@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;
        
    }

    .upload_image_main_div.bg-image-div {
        margin-bottom: 10px;
    }

    .line-all {
        display: none;
    }

    .payment-container {
        flex-direction: column;
        padding: 0;
        
    }

    .payment-details,
    .qr-section {
        width: 100%;
        padding: 10px;
    }

    .qr-section {
        order: -1;
        
        
    }

    .image_comp_row {
        margin-bottom: 15px;
    }

    .image_comp_row .form-control,
    .image_comp_row label {
        margin: 0;
    }

    .payment-details {
        padding: 0;
        
    }
}


@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;
}

.jq-toast-wrap {
    z-index: 99999999 !important;
}


.image_div_col {
    position: relative;
    
    border-radius: 10px;
}

.image_div_col img {
    position: absolute;
    height: 90%;
    
    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_preview_div {
    border: 2px solid gray;
    height: 100%;
    border-radius: 10px;
}

.btn-grad {
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    
    
    border-radius: 10px;
}

.btn-grad:hover {
    background-position: right center;
    
    
    text-decoration: none;
}

.nav-heading {
    
    
    font-weight: bold;
    left: 45%;
}

.line {
    width: 100%;
    height: 2px;
    margin-bottom: 20px;
    margin-top: 40px;
    
}

.line-all {
    width: 101%;
    height: .5px;
    margin-bottom: 20px;
    margin-top: 8px;
    
}

label {
    font-weight: bold;
    font-size: 14px;
    
    margin: 0;
}

.nav2 {
    display: none;
}




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;
    
}



@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;
    }

    
    .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;
    }
}




.member_input_row {
    
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.member_row_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
}

.member_row_num {
    font-size: 13px;
    font-weight: 700;
    
    display: flex;
    align-items: center;
    gap: 6px;
}

.member_input_row>.row {
    padding: 14px 12px 12px;
    margin: 0;
}

.delete_member_btn {
    
    border: 1px solid #ffcccc;
    border-radius: 6px;
    
    cursor: pointer;
    font-size: 13px;
    padding: 4px 10px;
    transition: all 0.2s;
    line-height: 1;
}

.add_member_btn {
    
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.add_member_btn:hover {
    opacity: 0.88;
    
}


.uf-modal-overlay {
    position: fixed;
    inset: 0;
    
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    padding: 16px;
}

.uf-modal {
    
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    
    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 h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    
}

.uf-modal p {
    font-size: 14px;
    
    margin: 0 0 8px;
    line-height: 1.6;
}

.uf-reg-box {
    
    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;
    
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.uf-reg-box strong {
    font-size: 26px;
    font-weight: 800;
    
    letter-spacing: 2px;
}

.uf-note {
    font-size: 12.5px !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:hover {
    
    transform: translateY(-1px);
}

.uf-btn-error:hover {
    
    transform: translateY(-1px);
}

.body_div {
    border: 1px solid red;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 999;
    width: 100%;
    user-select: none !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    
    z-index: 9999999;
}

.modal-content {
    
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close {
    
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover,
.close:focus {
    
    text-decoration: none;
}

.crowdfunding-info {
    
    border-left: 4px solid var(--text-color);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 0.35rem 0.35rem 0;
}

.crowdfunding-info h4 {
    
    margin-top: 0;
}

.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    flex: 1 0 calc(20% - 10px);
    min-width: 80px;
    padding: 10px;
    border: 2px solid #d1d3e2;
    border-radius: 0.35rem;
    
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-btn.active {
    
    
    
    outline: none;
}

.custom-amount {
    display: flex;
    align-items: center;
}

.custom-amount .form-control {
    flex: 1;
    margin-right: 10px;
}

@media only screen and (max-width: 600px) {
    .amount-btn {
        flex: 1 0 calc(33% - 10px);
    }
}
