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;
    background-color: #121224; /* very dark blue-purple */
    color: #eee; /* default text color */
}
/* Navbar background and border */
.navbar {
    background-color: #1a1a2e; /* dark blue-purple background */
    border-bottom: 1px solid #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

    /* Navbar brand */
    .navbar .navbar-brand {
        color: #ffcc00;
        font-weight: 700;
    }

    /* Navbar links */
    .navbar .nav-link {
        color: #ccc; /* muted gray for links */
        font-weight: 500;
        transition: color 0.2s;
    }

        .navbar .nav-link:hover,
        .navbar .nav-link.active {
            color: #ffcc00; /* accent on hover/active */
        }

    .navbar .login-link,
    .navbar .logout-btn {
        color: #ccc; /* muted gray to match navbar */
        font-weight: 500;
        transition: color 0.2s;
        text-decoration: none;
    }

        .navbar .login-link:hover,
        .navbar .logout-btn:hover {
            color: #ffcc00; /* gold accent on hover */
        }

.logout-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Offcanvas base */
.cart-canvas {
    background-color: #1a1a2e;
    color: #eee;
    width: 360px;
}

/* Header */
.cart-header {
    border-bottom: 1px solid #333;
}

    .cart-header h5 {
        color: #ffcc00;
        font-weight: 600;
    }

/* Section titles */
.section-title {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

/* Basket items */
.basket-item {
    background-color: #1e1e2f;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Remove button */
.btn-remove {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 0.85rem;
    cursor: pointer;
}

    .btn-remove:hover {
        color: #ff4c4c;
    }

/* Resources */
.resource-item {
    margin-left: 10px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

/* Components */
.components summary {
    cursor: pointer;
    font-size: 0.75rem;
    color: #aaa;
    margin-left: 8px;
}

    .components summary:hover {
        color: #ffcc00;
    }

.components-list {
    margin-left: 16px;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #ccc;
}

