
/* =========================================
   MEGASTAKE SPA ACCOUNT PAGE
   Styles are restricted to .account-view
========================================= */

/* ACCOUNT PAGE CONTAINER */

.account-view {
    background: #0d111f;
    color: #fff;
    font-family: Arial, sans-serif;
    min-height: 100%;
    padding-bottom: 20px;
    overflow-x: hidden;
}

.account-view *,
.account-view *::before,
.account-view *::after {
    box-sizing: border-box;
}


/* =========================================
   ACCOUNT CONTENT
========================================= */

.account-view .account-content {
    padding: 85px 15px 30px;
}

.account-view .account-section {
    background: #101722;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid #1b2533;
}

.account-view .yellow-title {
    color: #f8c21c;
    font-size: 20px;
    margin-bottom: 15px;
}

.account-view .section-heading {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}


/* =========================================
   PHONE NUMBER
========================================= */

.account-view .phone-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.account-view .phone-row input {
    flex: 1;
    min-width: 0;
    height: 50px;
    background: #030b1b;
    color: #fff;
    border: none;
    outline: none;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 15px;
}

.account-view .phone-row input:focus {
    border: 1px solid #f8c21c;
}

.account-view .copy-btn {
    height: 50px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #f8c21c;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.account-view .copy-btn:hover {
    background: #ffd740;
}

.account-view .copy-btn:active {
    transform: scale(.98);
}


/* =========================================
   CHANGE PASSWORD
========================================= */

.account-view .change-password {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #1b2533;
    color: #f8c21c;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.account-view .change-password:hover {
    background: #263449;
}

.account-view .change-password:disabled {
    opacity: .65;
    cursor: wait;
}


/* =========================================
   PERSONAL INFORMATION FORMS
========================================= */

.account-view .form-group {
    margin-bottom: 16px;
}

.account-view .form-group:last-child {
    margin-bottom: 0;
}

.account-view .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f8c21c;
    font-size: 14px;
}

.account-view .form-group input {
    display: block;
    width: 100%;
    height: 50px;
    border: 1px solid transparent;
    outline: none;
    border-radius: 10px;
    background: #07111f;
    color: #fff;
    padding: 0 15px;
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.account-view .form-group input:focus {
    border-color: #f8c21c;
}

.account-view .form-group input[readonly] {
    background: #111827;
    color: #9ca3af;
    cursor: default;
}

.account-view .form-group input::placeholder {
    color: #7c8798;
}

.account-view .form-group input:disabled {
    opacity: .7;
}


/* =========================================
   SAVE PROFILE BUTTON
========================================= */

.account-view .save-wrapper {
    margin-top: 15px;
    margin-bottom: 10px;
}

.account-view .save-btn {
    display: block;
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 30px;
    background: #f8c21c;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease,
                transform .2s ease;
}

.account-view .save-btn:hover {
    background: #ffd740;
}

.account-view .save-btn:active {
    transform: scale(.99);
}

.account-view .save-btn:disabled {
    opacity: .7;
    cursor: wait;
}


/* =========================================
   TOAST NOTIFICATIONS
========================================= */

.account-view #toast {
    position: fixed;
    top: 75px;
    left: 10px;
    right: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    z-index: 1000000;
    transform: translateY(-120px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease,
                opacity .3s ease;
}

.account-view #toast.show {
    transform: translateY(0);
    opacity: 1;
}

.account-view #toast.success {
    background: #16a34a;
}

.account-view #toast.error {
    background: #dc2626;
}

.account-view #toast.info {
    background: #2563eb;
}


/* =========================================
   FOOTER
========================================= */

.account-view .footer-area {
    background-color: #0d111f;
    color: #fff;
    padding: 25px 20px;
    font-family: Arial, sans-serif;
}

.account-view .footer-logo-text {
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: .5px;
    margin-bottom: 25px;
}


/* FOOTER COLUMNS */

.account-view .footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.account-view .footer-columns > div {
    flex: 1;
    min-width: 0;
}

.account-view .footer-columns h4 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 12px;
}

.account-view .footer-columns a,
.account-view .footer-columns p {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.account-view .footer-columns a:hover {
    color: #fff;
}


/* FOOTER HEADINGS */

.account-view .footer-area h3 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 12px;
}


/* TRUST LINKS */

.account-view .trust-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.account-view .trust-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
}

.account-view .trust-links a:hover {
    color: #fff;
}


/* =========================================
   PAYMENT METHODS
========================================= */

.account-view .payments {
    display: flex;
    align-items: center;
    gap: 19px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.account-view .payments img {
    height: 35px;
    max-width: 100%;
    border-radius: 9px;
    object-fit: contain;
}


/* =========================================
   LICENSE
========================================= */

.account-view .license {
    color: #a0aec0;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}


/* =========================
   SOCIAL ICONS
========================= */

.social {
    margin-bottom: 20px;
}

.social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 38px;
    height: 38px;

    background-color: #1a202c;
    color: #ffffff;

    border-radius: 50%;
    margin-right: 10px;

    text-decoration: none;
    font-size: 23px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

/* HOVER EFFECT — SAME AS WALLET */

.social a:hover {
    background-color: #2d3748;
    color: #FFD700;
    transform: translateY(-2px);
}

/* ICON TRANSITION */

.social a i {
    transition: color 0.2s ease;
}


/* =========================================
   AGE 18+ BADGE
========================================= */

.account-view .age18 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #6b21a8;
    color: #fff;
    font-weight: bold;
    font-size: 19px;
    border-radius: 50%;
    margin-top: 10px;
    margin-bottom: 90px;
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 480px) {

    .account-view .account-content {
        padding: 5px 12px 25px;
    }

    .account-view .account-section {
        padding: 16px;
        border-radius: 13px;
    }

    .account-view .yellow-title {
        font-size: 20px;
    }

    .account-view .section-heading {
        font-size: 17px;
    }

    .account-view .phone-row {
        gap: 8px;
    }

    .account-view .phone-row input {
        padding: 0 10px;
        font-size: 14px;
    }

    .account-view .copy-btn {
        padding: 0 14px;
    }

    .account-view .form-group input {
        font-size: 15px;
    }

    .account-view .footer-area {
        padding: 22px 15px;
    }

    .account-view .footer-columns {
        gap: 14px;
    }

    .account-view .footer-columns h4 {
        font-size: 16px;
    }

    .account-view .footer-columns a,
    .account-view .footer-columns p {
        font-size: 13px;
    }

    .account-view .payments {
        gap: 10px;
    }

    .account-view #toast {
        top: 95px;
        left: 8px;
        right: 8px;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 360px) {

    .account-view .account-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .account-view .account-section {
        padding: 13px;
    }

    .account-view .footer-columns {
        gap: 10px;
    }

    .account-view .footer-area {
        padding-left: 12px;
        padding-right: 12px;
    }

}

/* FIX BOTTOM SPACE ABOVE NAVIGATION */
.account-view {
    padding-bottom: 0 !important;
}

.account-view .age18 {
    margin-bottom: 0 !important;
}

/* Leave only a small gap above the fixed bottom navigation */
.account-view .footer-area {
    padding-bottom: 55px !important;
}
