@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

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

body {
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
}

.container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #9ca3af;
    padding: 0.75rem 0;
    width: 50%;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.tab-btn.active {
    color: #111827;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4f46e5;
}

.views-wrapper {
    position: relative;
    width: 100%;
}

.view-container {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

form {
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 1.75rem;
    color: #111827;
    margin-bottom: 0.5rem;
    text-align: center;
}

.subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

input:not([type="checkbox"]) {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    width: 100%;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:not([type="checkbox"]):focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
}

.toggle-password:hover {
    color: #4b5563;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.google-btn:hover {
    background-color: #f9fafb;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0.5rem 0 1.5rem;
    color: #9ca3af;
    font-size: 0.85rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.divider span {
    padding: 0 10px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
}

.remember-me-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
}

.forgot-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

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

.submit-btn {
    background-color: #4f46e5;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #4338ca;
}

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-align: center;
    min-height: 20px;
}

/* ============================================================================
   Email Verification Prompt Card
   ============================================================================ */
.verify-card {
    width: 100%;
    background: #f8f6ff;
    border: 1px solid #e0d6f2;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
    text-align: center;
    animation: fadeSlideIn 0.4s ease;
}

.verify-card.verify-card--warning {
    border-color: #fbd38d;
    background: #fffbeb;
}

.verify-card.verify-card--standalone {
    margin-top: 0;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.verify-card__icon {
    font-size: 38px;
    margin-bottom: 12px;
    color: #4f46e5;
}

.verify-card--warning .verify-card__icon {
    color: #f59e0b;
}

.verify-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.verify-card__text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 6px;
}

.verify-card__email {
    font-weight: 600;
    color: #4f46e5;
}

.verify-card__spam {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.verify-card__spam i {
    color: #d1d5db;
    font-size: 14px;
}

.verify-card__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.verify-card__actions--stacked {
    flex-direction: column;
}

.verify-card__btn {
    background: #4f46e5 !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, opacity 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: none !important;
    margin: 0 !important;
    width: 100%;
    max-width: 250px;
}

.verify-card__btn:hover {
    background: #4338ca !important;
    transform: translateY(-1px);
}

.verify-card__btn:active {
    transform: translateY(0);
}

.verify-card__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.verify-card__btn--secondary {
    background: #fff !important;
    color: #4f46e5 !important;
    border: 1px solid #e5e7eb !important;
    font-weight: 500;
}

.verify-card__btn--secondary:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
}

.verify-card__link {
    font-size: 0.95rem !important;
    color: #4f46e5 !important;
    text-decoration: none !important;
    font-weight: 500;
    margin: 0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px !important;
}

.verify-card__link:hover {
    text-decoration: underline !important;
}
