/*Global Variables*/
:root {
    --primary-color: #000000;
    --text-color: #000000;
    --background-color: #FFFFFF;
    --overlay-color: rgba(0, 0, 0, 0.03);
    --gray-light: #f8f8f8;
}

/*Body*/
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { 
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
}
.btn-login {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}
.btn-login:hover {
    background-color: var(--overlay-color);
    color: var(--text-color);
    border-color: var(--primary-color);
}   
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    width: 100vw;
    box-sizing: border-box;
}
.auth-card {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 0;
    box-shadow: none;
    padding: 1.2rem 2.5rem 1.2rem 2.5rem;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.auth-header {
    text-align: center;
    margin-bottom: 1.25rem;
}
.auth-header img {
    max-width: 100px;
    margin-bottom: 0.75rem;
}
.auth-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}
.auth-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
}
.nav-tabs {
    border: none;
    margin-bottom: 1rem;
}
.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    font-size: 1.1rem;
    border-radius: 0;
    font-weight: 600;
}
.nav-tabs .nav-link.active {
    color: #000;
    border-bottom: 3px solid #000;
    background: none;
}
.form-label {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}
.form-control {
    border-radius: 0;
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
    background: #f8f8f8;
    border: 1px solid #ddd;
    font-weight: 400;
}
.input-group-text {
    border-radius: 0;
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
    background: #f8f8f8;
    border: 1px solid #ddd;
}
.btn-login {
    padding: 1rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 1.1rem;
    background-color: #000;
    color: #fff;
    border: none;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
}
.btn-login:hover {
    background-color: #222;
    color: #fff;
}
.form-check {
    margin-top: 0.75rem;
}
.form-check-label {
    font-size: 1rem;
}
.forgot-password {
    font-size: 1rem;
}
.mb-3 {
    margin-bottom: 0.75rem !important;
}
.input-group {
    margin-bottom: 0.25rem;
}
.password-criteria {
    font-size: 1rem;
}
.criteria-item {
    margin-top: 0.25rem;
    font-size: 1rem;
}
.criteria-item i {
    margin-right: 0.5rem;
    width: 15px;
    font-size: 1rem;
}
.criteria-item.valid i {
    color: #198754;
}
.password-match {
    font-size: 1rem;
}
.btn-outline-secondary {
    border-radius: 0;
    padding: 0.5rem 1rem;
}
.back-to-home {
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
}
.back-to-home a {
    color: #0d6efd;
    text-decoration: none;
}
.back-to-home a:hover {
    text-decoration: underline;
}
.alert {
    font-size: 1.1rem;
    border-radius: 0;
}
@media (max-width: 600px) {
  .auth-container {
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    padding: 0 !important;
  }
  .auth-card {
    max-width: 90vw !important;
    width: 100vw !important;
    margin: 0 auto !important;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10) !important;
  }
}
@media (max-width: 480px) {
  .auth-card {
    padding: 0.7rem 0.2rem 0.7rem 0.2rem !important;
    border-radius: 10px !important;
  }
  .auth-header h2 {
    font-size: 1.3rem !important;
  }
}