body {
    margin: 0;

    background: url('/static/img/7f1d5127-f84a-4b29-ae31-7a9f4e0892d7.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}

.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    width: 380px;
    padding: 30px; 
    text-align: center;
 
    background: rgba(0, 0, 0, 0.75); 
    backdrop-filter: blur(5px); 
    border-radius: 16px;
    border: 1px solid #0ac299; 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.avatar {
    width: 120px; 
    height: 120px;
    border-radius: 50%; 
    object-fit: cover;
    margin-bottom: 25px; 
    border: 3px solid #0ac299; 
}

.title {
    font-size: 24px; 
    font-weight: 500;
    margin-bottom: 30px; 
    letter-spacing: 2px;
    color: #0ac299; 
}

.input-box {
    margin-bottom: 20px; 
    text-align: left;
}

.input-box input {
    width: 100%;
    box-sizing: border-box; 
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #0ac299;
    outline: none;
    background: #0e2025;
    color: #b7ffda;
    font-size: 16px;
    transition: border-color 0.3s; 
}

.input-box input:focus {
    border-color: #5dffe3;
    box-shadow: 0 0 8px rgba(10, 194, 153, 0.5);
}


.btn {
    width: 100%;
    padding: 14px;
    margin-top: 15px; 
    background: #0ac299;
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #0aeebe; 
    opacity: 1; 
}

.error {
    margin-top: 20px; 
    color: #ff5f5f;
    font-size: 14px;
}

.btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;

    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
