:root {
    --primary-color: #007AFF;
    --primary-dark: #0056b3;
    --text-color: #1a1a1a;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.logo {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-transform: lowercase;
}

form {
    margin: 30px 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

input[type="password"]:focus {
    outline: none;
    border-color: #007AFF;
}

button {
    background: #007AFF;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

button:hover {
    background: #0056b3;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.disclaimer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

.disclaimer p:first-child {
    color: #007AFF;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.disclaimer p {
    color: #666;
    font-size: 12px;
    line-height: 1.6;
    margin: 8px 0;
}

.legal-disclaimer {
    margin-top: 2rem;
    padding: 1rem;
    border-top: 1px solid #e1e1e1;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

.legal-disclaimer p {
    margin: 0;
}

/* Loading animation */
button.loading {
    position: relative;
    pointer-events: none;
}

button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: button-loading-spinner 0.6s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

.error-message {
    color: #dc3545;
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

.loading {
    display: none;
    margin-top: 1rem;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #007AFF;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .login-container {
        width: 95%;
        padding: 30px 20px;
        margin: 20px;
        border-radius: 20px;
    }
    
    .logo {
        font-size: 32px;
    }
}
