/* ===================================================
   WALLET FINTECH UI (FIXED VERSION)
   =================================================== */

.account-wrapper {
    background: #f4f6fb;
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Container */
.account-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
}

/* Layout */
.account-layout {
    display: flex;
    gap: 30px;
    position: relative;
}

/* ================= MAIN ================= */

.account-main {
    flex: 1;
    position: relative;
}

/* ================= CARD ================= */

.account-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    margin-top: 15px;
    position: relative;
    z-index: 5; /* ensures nothing blocks button */
}

.account-card-title {
    font-weight: 600;
    margin-bottom: 25px;
}

/* ================= FORM ================= */

.account-form-group {
    margin-bottom: 20px;
}

.account-form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.account-form-group input {
    width: 100%;
    height: 55px;
    border-radius: 14px;
    border: 1px solid #ddd;
    padding: 0 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.account-form-group input:focus {
    border-color: #6d28d9;
    box-shadow: 0 0 0 4px rgba(109,40,217,0.15);
    outline: none;
}

.input-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    display: block;
}

/* ================= BUTTON ================= */

.account-btn {
    width: 100%;
    height: 55px;
    border-radius: 14px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    padding: 0 25px;
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;   /* IMPORTANT FIX */
    position: relative;
    z-index: 10;       /* Ensure clickable */
}

.account-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(109,40,217,0.35);
}

.account-btn:active {
    transform: scale(0.98);
}

.account-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ================= MESSAGE ================= */

.wallet-message {
    padding: 15px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.wallet-message.success {
    background: #e6f9f0;
    color: #16a34a;
}

.wallet-message.error {
    background: #fee2e2;
    color: #dc2626;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .account-layout {
        flex-direction: column;
    }

    .account-sidebar {
        width: 100%;
    }

}

@media (max-width: 576px) {

    .account-card {
        padding: 25px;
    }

    .account-form-group input {
        height: 50px;
    }

}

/* ==========================================
   MOBILE CONTAINER IMPROVEMENTS
   ========================================== */

@media (max-width: 992px) {

    .account-wrapper {
        padding-top: 120px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .account-container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .account-layout {
        gap: 20px;
    }

    .account-sidebar,
    .account-card {
        border-radius: 18px;
    }

}

@media (max-width: 768px) {

    .account-wrapper {
        padding-left: 18px;
        padding-right: 18px;
    }

    .account-card {
        padding: 25px 20px;
    }

    .account-sidebar {
        padding: 20px;
    }

}

@media (max-width: 576px) {

    .account-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .account-card {
        padding: 22px 18px;
    }

    .account-form-group input {
        height: 50px;
    }

}
