/* static/css/auth.css */

.auth-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 24px;
    background-color: #fff;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

/* -- Form Column (Left) -- */
.form-column {
    padding: 48px;
    background-color: #fff;
}

.auth-form h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #059669;
    /* Green from pic 3 */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
}

.form-footer {
    text-align: center;
    margin-top: 16px;
}

.form-footer a {
    color: #059669;
    text-decoration: none;
    font-size: 14px;
}

/* -- Panel Column (Right) -- */
.panel-column {
    background-color: #f8fafc;
    padding: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.auth-panel h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.auth-panel p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.btn-switch {
    padding: 12px 32px;
    background-color: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* -- Utility Class -- */
.hidden {
    display: none;
}

/* -- Responsive Design -- */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .panel-column {
        /* Reverse order on mobile for better flow */
        grid-row: 1;
    }
}

/* Add this to static/css/auth.css */

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #a0aec0;
    margin: 24px 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.separator:not(:empty)::before {
    margin-right: .5em;
}

.separator:not(:empty)::after {
    margin-left: .5em;
}

.btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-google {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #cbd5e1;
}

.btn-google:hover {
    background-color: #f8fafc;
}

.btn-google .google-icon {
    margin-right: 12px;
}

/* Add these styles for the verification modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    z-index: 1001;
    display: none;
}

.modal-overlay.active,
.modal.active {
    display: block;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    text-align: center;
    margin-bottom: 16px;
    color: #475569;
}

#verification-code {
    text-align: center;
    font-size: 24px;
    letter-spacing: 1em;
}