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: 50px;
}

footer {
    padding: 5px 0 !important; 
    margin-top: 20px;
}

.container {
    padding-top: 20px;
}

.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;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    border-bottom: 1px solid #eee;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #444;
}

.nav-link {
    color: #0073e6;
    text-decoration: none;
}

    .nav-link:hover {
        text-decoration: underline;
    }

/* Adjusted navigation layout */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem; /* space between Manage and login section */
}

/* Manage link */
.manage-link {
    font-weight: 600;
    color: #333;
    background-color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

    .manage-link:hover {
        text-decoration: none;
    }

nav-link manage-link {
    text-decoration: none;
}
/* Auth links ("Log In / Sign Up") */
.auth-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .auth-links .nav-link {
        color: #0073e6;
    }

        .auth-links .nav-link:hover {
            text-decoration: underline;
        }
/* Cart icon wrapper */
.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

/* Floating badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff3355; /* pink-red like your sample */
    color: white;
    border-radius: 50%;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    line-height: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Toast notification styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 300px;
    transition: all 0.3s ease;
}

.toast-error {
    background: #f44336;
}

.toast-hidden {
    opacity: 0;
    transform: translateX(100%);
}
