@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Noto Sans, sans-serif;
}
html,body{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
body {
    background: url(image/image.png) no-repeat;
    background-size: cover;
    background-position: center bottom;
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.register-page {
  display: flex;
  align-items: center;
    justify-content: center;
}

.register-page .login-left {
    background-image: none;
}



/* Login Container */
.login-container {
    display: flex;
    width: 58%;
    max-width: 100%;
    
    border-radius: 4px;
    /* Slightly rounded corners */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    min-height: 500px;
}

/* Left Side - Branding */
.login-left {
    flex: 1;
    position: relative;
    background-color: rgb(0 0 0 / .6);
    /* Or use a different branding image if desired, using same bg for consistency */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
   
    overflow: hidden;
}



.branding {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.brand-logo {
    width: 80%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.branding h1 {
    font-size: 2.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Right Side - Form */
.login-right {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #555;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Form Styles */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: #556b2f;
    /* Dark olive green color for labels */
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-family: Noto Sans, sans-serif;
    font-weight: 500;
    gap: 5px;
}

.input-group label span {
    font-weight: bold;
    font-size: 1.1rem;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #4CAF50;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Form Actions (Remember Me / Forgot PW) */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
    position: relative;
    padding-left: 25px;
    /* Space for custom checkmark */
    user-select: none;
}

/* Custom Checkbox */
.remember-me input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 3px;
}

.remember-me:hover input~.checkmark {
    background-color: #ccc;
}

.remember-me input:checked~.checkmark {
    background-color: #4CAF50;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.remember-me input:checked~.checkmark:after {
    display: block;
}

.remember-me .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


.forgot-password {
    color: #4CAF50;
    /* Green color */
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Captcha */
.captcha-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.captcha-question {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
    min-width: 90px;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    /* background: #f5f5f5; */
    border-radius: 4px;
    padding: 0 8px;
    transition: background 0.2s;
}



.captcha-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid #ccc;
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: captcha-spin 0.5s linear infinite;
}

@keyframes captcha-spin {
    to { transform: rotate(360deg); }
}

.captcha-input {
    width: 80%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 15px;
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-login {
    background-color: #4CAF50;
    /* Green */
    color: white;
}

.btn-register {
    background-color: #000;
    /* Black */
    color: white;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 100%;
        min-height: auto;
    }

    .login-left {
        padding: 40px 20px;
        min-height: 200px;
    }

    .branding h1 {
        font-size: 2rem;
    }

    .brand-logo {
        width: 100px;
    }

    .login-right {
        padding: 30px 20px;
    }
}

/* Belling Page Styles */
.belling-page {
    background-image: none !important;
    background-color: #fff;
    display: block;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    min-width: auto;
    min-height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    align-items: initial;
    justify-content: initial;
}

.belling-page::before {
    display: none !important;
    /* Remove global overlay */
}

/* Top Alert Bar */
.top-alert-bar {
    background-color: #008000;
    /* Green */
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-link {
    color: #fff;
    /* Or a slightly lighter orange/yellow if needed, but image shows green/white */
    text-decoration: underline;
    color: #ff9800;
    /* Goldish text for link maybe? Image looks orange-ish */
}

/* Main Header */
.main-header {
    background-color: #fcfcfc;
    /* Very light grey/white */
    border-bottom: 1px solid #ddd;
    padding: 10px 40px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
}

.header-left {
    display: flex;
    gap: 60px;
    font-size: 0.9rem;
    color: #333;
}

.time-display {
    color: #555;
}

.user-greeting {
    color: #333;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #333;
    font-weight: bold;
}

.recharge-total {
    color: #777;
    font-size: 0.8rem;
    font-weight: normal;
}

.btn-add-funds {
    background-color: #558b4f;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    text-transform: lowercase;
}

.cart-link,
.logout-link {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.lang-globe {
    color: #333;
    cursor: pointer;
}

/* Page Content */
.belling-content {
    max-width: 90%;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    text-transform: uppercase;
    color: #2c3e50;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4CAF50;
}

/* Redeem Section */
.redeem-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.redeem-label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #333;
}

.redeem-label span {
    color: #4CAF50;
    font-weight: bold;
    margin-right: 8px;
    font-size: 1.2rem;
}

.redeem-input {
    padding: 10px 15px;
    width: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.btn-redeem {
    background-color: #558b4f;
    /* Muted Green */
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

/* Crypto Grid */
.crypto-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.crypto-card {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 30px;
   width: 27.33%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.crypto-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.crypto-icon {
    font-size: 2.5rem;
    /* max-width: 80px; */
    height: auto;
}

.crypto-icon.btc {
    color: #f7931a;
}

.crypto-icon.ltc {
    color: #345d9d;
}

.crypto-icon.usdt {
    color: #26a17b;
    font-size: 2rem;
    font-weight: bold;
}

.usdt-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.usdt-label .crypto-network {
    font-size: 0.8rem;
    color: #777;
    font-weight: normal;
}

.crypto-name {
    font-size: 2rem;
    font-weight: bold;
    color: #555;
    font-family: sans-serif;
    /* Try to match the bold condensed look if possible */
}

.wallet-address {
    background: #f0f0f0;
    padding: 12px;
    font-size: 0.9rem;
    color: #555;
    word-break: break-all;
    margin-bottom: 20px;
    border-radius: 4px;
    width: 100%;
}

.qr-code-placeholder {
    margin-bottom: 20px;
    font-size: 150px;
    color: #000;
    line-height: 1;
    max-width: 200px;
    width: 100%;
}

.qr-code-placeholder img {
    width: 100%;
    height: auto;
}

.crypto-details {
    margin-bottom: 20px;
    font-size: 1rem;
    width: 100%;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0 10px;
    color: #333;
}

.detail-value {
    font-weight: bold;
    color: #333;
}

.detail-value small {
    font-size: 0.8em;
    color: #777;
}

.btn-update-recharge {
    background-color: #558b4f;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 80%;
    /* Button is not full width in screenshot */
    font-size: 1rem;
    font-weight: 500;
}

/* Info Footer */
.info-footer {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.warning-text {
    color: red;
    font-size: 1.6rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.info-text p {
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.main-footer {
    background-color: #0b140c;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    border-top: 1px solid #1a2e1c;
}

/* Billing Page Responsive */
@media (max-width: 992px) {
    .crypto-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .top-alert-bar {
        font-size: 0.78rem;
        padding: 8px 12px;
        line-height: 1.5;
    }

    .main-header {
        padding: 10px 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }

    .header-left {
        flex-wrap: wrap;
        gap: 10px 20px;
        justify-content: center;
        font-size: 0.8rem;
    }

    .header-right {
        justify-content: center;
    }

    .belling-content {
        max-width: 100%;
        margin: 20px auto;
        padding: 0 15px;
    }

    .page-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .redeem-section {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }

    .redeem-input {
        width: 100%;
    }

    .btn-redeem {
        width: 100%;
    }

    .crypto-grid {
        gap: 20px;
        margin-bottom: 30px;
    }

    .crypto-card {
        width: 100%;
        padding: 20px;
    }

    .crypto-icon {
        max-width: 60px;
    }

    .wallet-address {
        font-size: 0.78rem;
        padding: 10px;
    }

    .qr-code-placeholder {
        max-width: 160px;
    }

    .btn-update-recharge {
        width: 100%;
        padding: 12px 15px;
    }

    .info-footer {
        padding: 0 10px;
    }

    .info-text p {
        font-size: 0.85rem;
    }

    .main-footer {
        font-size: 0.8rem;
        padding: 15px 10px;
    }
}