/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f1f3f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Main container */
.container {
    background: white;
    padding: 40px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Logo (only on email page) */
.logo {
    margin-bottom: 32px;
}

.logo img {
    width: 100px;
    height: auto;
}

/* Form styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 16px;
    color: #202124;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: #4285f4;
}

/* For 6-digit code: Style as individual boxes */
.code-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.code-inputs input {
    width: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Button */
.next-btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.next-btn:hover:not(:disabled) {
    background-color: #1557b0;
}

.next-btn:disabled {
    background-color: #f1f3f4;
    color: #5f6368;
    cursor: not-allowed;
}

/* Links */
.back-link, .forgot-link {
    display: block;
    color: #1a73e8;
    font-size: 14px;
    text-decoration: none;
    margin: 8px 0;
}

.back-link:hover, .forgot-link:hover {
    text-decoration: underline;
}

.footer-links {
    margin: 24px 0;
    font-size: 14px;
}

.footer-links a {
    color: #1a73e8;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.divider {
    color: #5f6368;
    margin: 0 8px;
}

.privacy {
    font-size: 12px;
    color: #5f6368;
    line-height: 1.4;
}

.privacy a {
    color: #1a73e8;
    text-decoration: none;
}

.privacy a:hover {
    text-decoration: underline;
}

/* Step indicators (optional, for UX) */
.step-info {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .code-inputs input {
        width: 35px;
    }
}

/* New styles for headings and prompts */
.subtitle {
    font-size: 16px;
    color: #5f6368;
    margin: 8px 0 32px 0;
}

.welcome {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    margin: 0 0 8px 0;
    text-align: left;
}

.email-display {
    font-size: 16px;
    color: #202124;
    font-weight: 400;
    text-align: left;
    margin: 0 0 24px 0;
}

.verify-prompt {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 16px;
    text-align: left;
}

.verify-prompt .email-display {
    color: #202124;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
    accent-color: #1a73e8; /* Blue checkmark */
}

.checkbox-group label {
    font-size: 14px;
    color: #1a73e8;
    cursor: pointer;
    margin: 0;
}