﻿/* =====================================================
   AUTHENTICATION PAGES STYLES
   Login & Register Pages
   ===================================================== */

/* ----- Base Layout ----- */
body.auth-body {
    background-color: #f6f8fb; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 1rem; /* Prevent touching screen edges on short devices */
}

.auth-container {
    width: 100%;
    max-width: 650px; /* Widened to allow side-by-side fields */
    margin: auto;
}

.auth-card {
    background: #ffffff;
    padding: 3.5rem 3.5rem; /* Lots of space on desktop */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); 
}

/* Responsive adjustments for mobile phones */
@media (max-width: 576px) {
    .auth-card {
        padding: 2.5rem 1.5rem; /* Shrink padding on small screens */
    }
    .auth-title {
        font-size: 1.4rem !important; /* Slightly smaller title on mobile */
    }
}

.vaatco-logo {
    max-width: 140px; /* Much smaller logo */
    margin: 0 auto 1.5rem auto; /* Less vertical margin */
    display: block;
}

.auth-title {
    font-size: 1.75rem;
    color: #2b2b2b;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.auth-title strong {
    font-weight: 700;
    color: #111;
}

.auth-sub {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 2.5rem;
}

/* Material Inputs - Taller and better spaced */
.material-input {
    border: none;
    border-bottom: 1.5px solid #e1e5ee;
    border-radius: 0;
    padding: 1rem 0; /* Huge breathing room inside input */
    width: 100%;
    background: transparent;
    font-size: 1.05rem;
    color: #333;
    transition: all 0.3s ease;
}

.material-input:focus {
    outline: none;
    border-bottom: 2px solid #2fd57a; 
}

.material-input::placeholder {
    color: #adb5bd;
    font-size: 1rem;
}

.password-box { 
    position: relative; 
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #adb5bd;
    padding: 0.5rem;
    font-size: 1.2rem;
}

.custom-check {
    accent-color: #2fd57a; 
    width: 18px;
    height: 18px;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 6px;
}

.custom-check-label, .forgot-link {
    font-size: 0.95rem;
    color: #7b828a;
    vertical-align: middle;
    cursor: pointer;
}

.forgot-link { 
    text-decoration: none; 
    transition: 0.2s; 
    font-weight: 500;
}

.forgot-link:hover { 
    color: #2fd57a; 
}

/* Main Button - Taller, larger font */
.btn-auth {
    background-color: #2fd57a;
    border: none;
    color: #fff;
    border-radius: 50px;
    padding: 1rem; /* More padding */
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

.btn-auth:hover, .btn-auth:focus {
    background-color: #27bf6b;
    color: #fff;
    box-shadow: 0 6px 15px rgba(47, 213, 122, 0.35);
    transform: translateY(-1px);
}

/* Social circles */
.social-login-text {
    color: #9aa0a6;
    font-size: 0.95rem;
    margin: 2rem 0 1.25rem;
    text-align: center;
}

.social-circles {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-circle {
    width: 44px; /* Larger icons */
    height: 44px;
    border-radius: 50%;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-circle:hover { 
    opacity: 0.85; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.bg-fb { background-color: #3b5998; }
.bg-tw { background-color: #1da1f2; }
.bg-go { background-color: #ea4335; }

/* Custom Validation Messages */
.validation-message {
  color: #e74c3c !important; /* Softer coral red instead of harsh red */
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.input-validation-error {
  border-bottom: 2px solid #e74c3c !important; /* Red bottom border when input is invalid */
}