:root {
    --primary-color: #7f5af0;
    --primary-dark: #6a46e5;
    --secondary-color: #2cb67d;
    --accent-color: #ff8906;
    --background-dark: #16161a;
    --background-light: #242629;
    --text-color: #fffffe;
    --paragraph-color: #94a1b2;
    --border-color: #383838;
    --card-bg: #1e1e24;
}

body {
    background-color: var(--background-dark);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar Styling */
.navbar {
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--paragraph-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu-dark {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
}

.dropdown-item {
    color: var(--paragraph-color);
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 600;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* Card Styling */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.card-product {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-product .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-product .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-product .card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-product .card-text {
    color: var(--paragraph-color);
    flex-grow: 1;
}

.card-product .card-footer {
    background-color: transparent;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

/* Form Styling */
.form-control, .form-select {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 4px;
    padding: 0.75rem 1rem;
}

/* Add placeholder styling to make it white instead of gray */
.form-control::placeholder, .form-select::placeholder {
    color: white;
    opacity: 1;
}

/* Add specific styles for input text to ensure it's white */
input.form-control, 
select.form-select, 
textarea.form-control,
.form-control,
.form-select {
    color: white !important;
    background-color: var(--background-light) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0 30px var(--background-light) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-control:focus, .form-select:focus {
    background-color: var(--background-light);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(127, 90, 240, 0.25);
    color: var(--text-color);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Table Styling */
.table {
    color: var(--text-color);
}

.table-dark {
    background-color: var(--background-light);
}

.table > :not(:first-child) {
    border-top: 1px solid var(--border-color);
}

/* Footer Styling */
.footer {
    background-color: var(--background-light);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--paragraph-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-divider {
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.payment-methods i {
    font-size: 1.5rem;
    margin-left: 0.75rem;
    color: var(--paragraph-color);
}

/* Cart Badge */
.badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(25%, -25%);
}

/* Product Gallery */
.product-gallery {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery img {
    width: 100%;
    border-radius: 8px;
}

/* Alert Styling */
.alert {
    border-radius: 4px;
}

/* Checkout Steps */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--background-light);
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-number.active {
    background-color: var(--primary-color);
}

.step-number.completed {
    background-color: var(--secondary-color);
}

.step-line {
    position: relative;
    width: 100%;
    height: 3px;
    background-color: var(--border-color);
    position: absolute;
    top: 20px;
    left: 0;
    z-index: -1;
}

/* Admin Dashboard */
.dash-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
}

.dash-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.dash-card-value {
    font-size: 2rem;
    font-weight: 700;
}

.dash-card-label {
    color: var(--paragraph-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Neon effects for gaming feel */
.neon-text {
    text-shadow: 0 0 10px var(--primary-color),
                 0 0 20px var(--primary-color),
                 0 0 30px var(--primary-color);
}

.neon-border {
    box-shadow: 0 0 10px var(--primary-color),
                0 0 20px var(--primary-color);
}

/* Cool hover effects */
.hover-glow:hover {
    filter: drop-shadow(0 0 8px var(--primary-color));
}

/* Game-style scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
} 