:root {
    --primary-color: #aeff46;
    --secondary-color: #9932cc;
    --dark-bg: #111111;
    --card-bg: #1a1a1a;
    --text-color: #ffffff;
}

html, body {
    background-color: var(--dark-bg);
    margin: 0;
    padding: 0;
}

body {
    color: var(--text-color);
    padding: env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.btn {
    background: linear-gradient(270deg, #FF49BA -12.5%, #7D7AFF 100%);
    /* background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); */
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

.btn:active{
    opacity: 0.8;
}

.btn-disabled {
    background: linear-gradient(270deg, #FF49BA -12.5%, #7D7AFF 100%);
    color: white;
    opacity: 0.6;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: default;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 16px;
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s;
}

.input-field:focus {
    border-color: var(--primary-color);
    outline: none;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-field:disabled {
    color: rgba(255, 255, 255, 0.3);
}

.input-field-error {
    width: 100%;
    padding: 12px 15px;
    background-color: #4a0000;
    border: 1px solid #b50000;
    border-radius: 20px;
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s;
}

.input-field-error::placeholder {
    color: #b50000;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 15px;
    width: 100%;
    height: 100vh;
}

.auth-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.auth-header {
    background: linear-gradient(to right, var(--secondary-color), #7b49d3);
    padding: 30px;
    text-align: center;
    position: relative;
}

.auth-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 14px;
    opacity: 0.8;
}

.auth-footer {
    text-align: center;
    padding: 0 30px 30px;
}

.auth-footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.auth-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.auth-link {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Skeleton Animation */
.skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}