
:root {
    --gold: #D4AF37;
    --light-gold: #F4E9C9;
    --dark-gold: #996515;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --light-gray: #F0F0F0;
    --dark-gray: #333333;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: url('https://example.com/luxury-background.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(68, 0, 0);
    z-index: -1;
}

#app {
    width: 100%;
    max-width: 500px;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    padding: 40px;
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--gold), var(--light-gold), var(--gold));
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo-icon {
    width: 64px;
    height: 64px;
    color: var(--gold);
}

.logo-icon path {
    fill: currentColor;
}

h1 {
    text-align: center;
    color: var(--black);
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
}

.input-group .icon path {
    fill: currentColor;
}
input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: var(--white);
}

input:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    background: linear-gradient(135deg, var(--dark-gold), var(--gold));
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.attributes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.attributes span {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    font-size: 14px;
    margin: 5px 10px;
    font-weight: 500;
}

.attributes .icon {
    margin-right: 8px;
    color: var(--gold);
}

.attributes .icon path {
    fill: currentColor;
}

@media (max-width: 480px) {
    #app {
        max-width: 90%;
    }
    
    .login-container {
        padding: 30px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .attributes span {
        font-size: 12px;
    }
}
.hidden {
    display: none;
}


form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}



#user-details, #withdrawal-form, #withdrawal-details, #history-list {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}


/* 在现有的styles.css内容之后添加以下内容 */

/* Loading Overlay Styles */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading-overlay.hidden {
    display: none;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-gold);
    border-top: 5px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-spinner p {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}