.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    margin: 1rem;
}

.login-box h1 {
    color: #2563eb;
    margin-bottom: 10px;
    text-align: center;
    font-size: 2em;
}

.login-box h2 {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.2em;
    font-weight: normal;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s;
    min-height: 44px;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.login-button {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    min-height: 44px;
}

.login-button:hover {
    background: #1d4ed8;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

/* Terms Notice Styles (non-modal for better browser compatibility) */
.terms-notice {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.terms-content h3 {
    color: #2563eb;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    text-align: center;
}

.terms-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.4;
}

.terms-content p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.5;
}

.terms-actions {
    text-align: center;
    margin-top: 20px;
}

.accept-button-simple {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    min-height: 44px;
}

.accept-button-simple:hover {
    background: #1d4ed8;
}

/* Responsive Mobile Styles */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
        margin: 0.75rem;
    }

    .login-box h1 {
        font-size: 1.75em;
    }

    .login-box h2 {
        font-size: 1.1em;
    }

    .terms-notice {
        padding: 15px;
        max-height: 250px;
    }

    .terms-content h3 {
        font-size: 1.1em;
    }

    .terms-content li {
        font-size: 0.9em;
    }
}

@media (max-width: 375px) {
    .login-box {
        padding: 25px 16px;
    }

    .login-box h1 {
        font-size: 1.5em;
    }
}
