html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}













/* ========================================= */
/* SaaS Identity / Authentication Pages      */
/* ========================================= */

.saas-auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%; /* Relies on flex-grow-1 from main layout */
    padding: 3rem 1rem;
}

.saas-auth-card {
    background: #ffffff;
    border-radius: 16px; /* Matches your rounded-4 */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid #e5e7eb;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 420px; /* Perfect width for a modern auth card */
}

    /* Typography Overrides */
    .saas-auth-card h1,
    .saas-auth-card h2 {
        font-weight: 800;
        color: #111827;
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 0.25rem;
        letter-spacing: -0.5px;
    }

    .saas-auth-card .text-muted {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }

    /* Form Controls & Floating Labels */
    .saas-auth-card .form-floating > .form-control {
        border-radius: 10px;
        border: 1px solid #d1d5db;
    }

        .saas-auth-card .form-floating > .form-control:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
        }

    .saas-auth-card .form-check-input {
        cursor: pointer;
    }

    .saas-auth-card .form-check-label {
        font-size: 0.9rem;
        color: #4b5563;
        cursor: pointer;
    }

    /* Big Auth Button */
    .saas-auth-card .btn-primary {
        border-radius: 10px;
        padding: 0.85rem 1rem;
        font-weight: 600;
        font-size: 1rem;
        width: 100%;
        margin-top: 1rem;
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
    }

/* Action Links (Forgot password, Sign up) */
.saas-auth-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .saas-auth-links a {
        color: #0d6efd;
        text-decoration: none;
        font-weight: 600;
    }

        .saas-auth-links a:hover {
            text-decoration: underline;
            color: #0b5ed7;
        }





body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f5f7;
    padding-top: 64px;
    color: #111827;
}

.saas-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    height: 64px;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #111827 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    background: #0d6efd;
    color: white;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 1.1rem;
}

.nav-link {
    font-weight: 500;
    color: #4b5563 !important;
    transition: color 0.2s;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
}

    .nav-link:hover {
        color: #111827 !important;
        background-color: #f3f4f6;
    }

    .nav-link.active {
        color: #0d6efd !important;
        background-color: #eff6ff;
    }

/* User Avatar Bubble */
.user-avatar {
    width: 32px;
    height: 32px;
    background-color: #e0e7ff;
    color: #4f46e5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.dropdown-menu {
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Minimal Footer */
.saas-footer {
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;

    font-size: 0.875rem;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #111827;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.brand-logo-img {
    height: 45px;
    width: auto;
}