* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend Deca', sans-serif;
    background-color: #f9fafb;
    padding-bottom: 40px;
}

.bg-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background-color: #FE3301;
    z-index: 0;
}

.main-container {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 24px 12px 0 12px;
}

.wallet-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 768px;
    margin: 8px auto 0 auto;
}

.card-title {
    text-align: center;
    font-weight: 700;
    font-size: 26px;
    color: #111827;
    margin-bottom: 8px;
}

.card-subtitle {
    text-align: center;
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 35px;
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
}

.custom-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
}

.custom-input:focus {
    border-color: #FE3301;
    box-shadow: 0 0 0 3px rgba(254, 51, 1, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-wrapper .custom-input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
}

.btn-save {
    width: 100%;
    background-color: #FE3301;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-save:hover {
    background-color: #e02d00;
}

.btn-save:disabled {
    background-color: #FE3301;
    cursor: not-allowed;
    opacity: 0.8;
}

.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.alert {
    display: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    align-items: center;
    gap: 10px;
}

.alert.error {
    display: flex;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert.success {
    display: flex;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    font-size: 14px;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: #FE3301;
    text-decoration: underline;
}

.divider {
    margin: 0 12px;
    color: #d1d5db;
}
