/* assets/css/auth.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #000;
    min-height: 100vh;
}

.auth-wrapper {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.back-btn-container {
    padding-top: 10px;
    margin-bottom: 40px;
}

.back-btn {
    font-size: 24px;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: #000;
}

.auth-subtitle {
    font-size: 15px;
    color: #6B7280;
    font-weight: 400;
    margin: 0;
}

/* Form Styles */
.auth-form {
    width: 100%;
}

.auth-input-group {
    margin-bottom: 16px;
    position: relative;
}

.auth-input {
    width: 100%;
    padding: 16px 20px;
    background-color: #F3F4F6;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    color: #1F2937;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.auth-input::placeholder {
    color: #9CA3AF;
}

.auth-input:focus {
    background-color: #fff;
    border-color: #E5E7EB;
    box-shadow: 0 0 0 4px rgba(243, 244, 246, 0.5);
}

/* Button */
.auth-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: #111827;
    /* Rich black */
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.2s;
    margin-top: 10px;
}

.auth-btn:active {
    transform: scale(0.98);
}

.auth-btn:hover {
    background-color: #000;
}

/* Footer & Links */
.auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #6B7280;
}

.auth-footer a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.forgot-password {
    text-align: right;
    display: block;
    font-size: 13px;
    color: #EF4444;
    /* Red for emphasis or link color */
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Checkbox */
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 13px;
    color: #4B5563;
    line-height: 1.4;
}

.terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #111827;
}

/* Alerts */
.alert {
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-danger {
    background-color: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.alert-success {
    background-color: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

/* Google Login Button Styles */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #9CA3AF;
    font-size: 13px;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E5E7EB;
}

.auth-divider:not(:empty)::before {
    margin-right: .5em;
}

.auth-divider:not(:empty)::after {
    margin-left: .5em;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background-color: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.google-btn:hover {
    background-color: #F9FAFB;
    border-color: #D1D5DB;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.google-btn img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}