/* Custom Theme Variable Overrides */
body {
    background-color: #ffffff;
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
    overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.navbar-brand, .nav-link {
    color: #1e293b !important;
    font-weight: 500;
}
.nav-link:hover {
    color: #0d6efd !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    min-height: 50vh;
}
.btn-primary {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
}
.btn-primary:hover {
    filter: brightness(0.9);
}

/* General Components */
.border-bottom-accent {
    border-bottom: 3px solid #0d6efd;
    padding-bottom: 5px;
}
.text-primary {
    color: #0d6efd !important;
}
.bg-light-spec {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* Cards UI */
.card, .tech-box, .form-container {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover, .tech-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
    border-color: #0d6efd !important;
}

/* Product Tab Navigation */
.nav-pills .nav-link {
    color: #1e293b !important;
    border: 1px solid #e2e8f0;
    margin: 0 5px;
    background-color: #ffffff;
}
.nav-pills .nav-link.active {
    background-color: #0d6efd !important;
    color: #fff !important;
    border-color: #0d6efd;
}

/* Inputs for dark or light */
.form-control, .form-select {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
}
.form-control:focus, .form-select:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 82, 204, 0.1);
}
.border-primary-glow {
    border: 2px solid #0d6efd !important;
}
.badge.bg-primary {
    background-color: #0d6efd !important;
}
footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0 !important;
}
