/* Modern CSS for JAX Enterprises Corp - Vehicle Maintenance & Repair System */

:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Custom brand colors */
    --brand-primary: #0d6efd;
    --brand-secondary: #6c757d;
    --brand-success: #198754;
    --brand-warning: #ffc107;
    --brand-danger: #dc3545;
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --shadow-xl: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
    
    /* Border radius */
    --border-radius: 0.375rem;
    --border-radius-sm: 0.25rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;
    
    /* Transitions */
    --transition: all 0.15s ease-in-out;
    --transition-fast: all 0.1s ease-in-out;
    --transition-slow: all 0.3s ease-in-out;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: white !important;
    text-decoration: none;
}

.brand-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.brand-icon img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.jax-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.jax-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.jax-logo-white {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.jax-logo-white:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.jax-logo-light {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.jax-logo-light:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@media (max-width: 768px) {
    .brand-icon {
        width: 48px;
        height: 48px;
    }
    
    .jax-logo {
        width: 100%;
        height: 100%;
    }
    
    .jax-logo-light {
        width: 100%;
        height: 100%;
    }
    
    .jax-logo-white {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 576px) {
    .brand-icon {
        width: 40px;
        height: 40px;
    }
    
    .jax-logo {
        width: 100%;
        height: 100%;
    }
    
    .jax-logo-light {
        width: 100%;
        height: 100%;
    }
    
    .jax-logo-white {
        width: 100%;
        height: 100%;
    }
}

.brand-text {
    font-weight: 700;
    color: white;
}

.brand-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
    color: white;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.navbar-nav .btn {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-nav .btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.navbar-nav .btn:active {
    transform: translateY(0);
}

.navbar-nav .btn * {
    color: white;
}

.navbar-nav .btn:hover * {
    color: white;
}

.navbar-nav .nav-link.btn {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: var(--transition);
    margin: 0.25rem 0;
}

.navbar-nav .nav-link.btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.btn:active {
    transform: translateY(0);
}

.navbar-nav .nav-link.btn * {
    color: white;
}

.navbar-nav .nav-link.btn:hover * {
    color: white;
}

.navbar-nav .btn i,
.navbar-nav .nav-link.btn i {
    margin-right: 0.5rem;
}

.navbar-nav .btn:hover i,
.navbar-nav .nav-link.btn:hover i {
    transform: scale(1.1);
}

.navbar-nav .nav-link.btn .nav-text {
    color: white;
}

.navbar-nav .nav-link.btn:hover .nav-text {
    color: white;
}

.navbar-nav .btn,
.navbar-nav .nav-link.btn {
    text-decoration: none;
}

.navbar-nav .btn:hover,
.navbar-nav .nav-link.btn:hover {
    text-decoration: none;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

.dropdown-item i {
    width: 20px;
    color: var(--gray-500);
}

/* Avatar Styles */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: white;
}

.card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.card-header {
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-light {
    background: linear-gradient(135deg, var(--light-color), var(--gray-200));
    color: var(--gray-700);
}

.btn-light:hover {
    background: linear-gradient(135deg, var(--gray-200), var(--light-color));
    color: var(--gray-800);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.navbar .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
    transition: var(--transition);
}

.navbar .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.navbar .btn-outline-light:active {
    transform: translateY(0);
}

.btn * {
    color: inherit;
}

.btn:hover * {
    color: inherit;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.hero-section .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hero-section .btn-light {
    background: linear-gradient(135deg, white, var(--gray-100));
    color: var(--gray-800);
    border: 2px solid white;
}

.hero-section .btn-light:hover {
    background: linear-gradient(135deg, var(--gray-100), white);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-section .btn-light:active {
    transform: translateY(0);
}

.hero-section .btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-section .btn-outline-light:hover {
    background: white;
    color: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-section .btn-outline-light:active {
    transform: translateY(0);
}

.hero-section .btn * {
    color: inherit;
}

.hero-section .btn:hover * {
    color: inherit;
}

.hero-section .btn:active * {
    color: inherit;
}

.hero-section .btn i {
    font-size: 1.2em;
    margin-right: 0.5rem;
}

.hero-section .btn:hover i {
    transform: scale(1.1);
}

.hero-section .btn:active i {
    transform: scale(1);
}

.hero-section .btn-light,
.hero-section .btn-outline-light {
    margin: 0.5rem;
}

.hero-section .btn-light *,
.hero-section .btn-outline-light * {
    color: inherit;
}

.hero-section .btn-outline-light {
    background: transparent;
}

.hero-section .btn-outline-light * {
    color: white;
}

.hero-section .btn-outline-light:hover,
.hero-section .btn-outline-light:focus {
    background: white;
    color: var(--gray-800);
}

.hero-section .btn-outline-light:hover *,
.hero-section .btn-outline-light:focus * {
    color: var(--gray-800);
}

.btn, .btn:link, .btn:visited {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover, .btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn {
    border: none;
    outline: none;
}

.btn * {
    color: inherit;
}

.btn i {
    font-size: 1em;
}

.btn-light {
    background: var(--light-color);
    color: var(--gray-700);
}

.btn-light * {
    color: var(--gray-700);
}

.btn-light:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.btn-light:hover * {
    color: var(--gray-800);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light * {
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-outline-light:hover * {
    color: white;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-section .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero-section .brand-icon,
.hero-section .jax-logo {
    position: relative;
    z-index: 1;
}

.hero-section * {
    position: relative;
    z-index: 1;
}

.hero-section .btn {
    position: relative;
    z-index: 2;
}

.hero-section .display-4,
.hero-section .display-5,
.hero-section .display-6 {
    font-weight: 700;
    color: white;
}

.hero-section .text-light {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section .opacity-75 {
    opacity: 0.75 !important;
}

.hero-section[style*="background"] h1,
.hero-section[style*="background"] h2,
.hero-section[style*="background"] h3,
.hero-section[style*="background"] h4,
.hero-section[style*="background"] h5,
.hero-section[style*="background"] h6 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-select {
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Table Styles */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table th {
    background-color: var(--gray-100);
    border-bottom: 2px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-700);
    padding: 1rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-200);
}

.table tbody tr:hover {
    background-color: var(--gray-50);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, var(--danger-color), #e74c3c);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, var(--warning-color), #f39c12);
    color: var(--gray-800);
}

.alert-info {
    background: linear-gradient(135deg, var(--info-color), #17a2b8);
    color: white;
}

/* Badge Styles */
.badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: white;
}

.status-inactive {
    background: linear-gradient(135deg, var(--secondary-color), #6c757d);
    color: white;
}

.status-pending {
    background: linear-gradient(135deg, var(--warning-color), #f39c12);
    color: var(--gray-800);
}

.status-cancelled {
    background: linear-gradient(135deg, var(--danger-color), #e74c3c);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-section .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero-section .brand-icon,
.hero-section .jax-logo {
    position: relative;
    z-index: 1;
}

.hero-section * {
    position: relative;
    z-index: 1;
}

.hero-section .btn {
    position: relative;
    z-index: 2;
}

.hero-section .display-4,
.hero-section .display-5,
.hero-section .display-6 {
    font-weight: 700;
    color: white;
}

.hero-section .text-light {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section .opacity-75 {
    opacity: 0.75 !important;
}

.hero-section[style*="background"] h1,
.hero-section[style*="background"] h2,
.hero-section[style*="background"] h3,
.hero-section[style*="background"] h4,
.hero-section[style*="background"] h5,
.hero-section[style*="background"] h6 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer Styles */
footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

footer h5,
footer h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer p {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

footer .text-muted {
    color: var(--gray-500) !important;
}

footer ul.list-unstyled li {
    margin-bottom: 0.5rem;
}

footer ul.list-unstyled li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

footer ul.list-unstyled li a:hover {
    color: white;
    transform: translateX(5px);
}

footer a.text-primary {
    color: var(--primary-color) !important;
}

footer a.text-primary:hover {
    color: var(--primary-dark) !important;
}

footer .text-decoration-none {
    text-decoration: none;
}

footer .text-decoration-none:hover {
    text-decoration: underline;
}

footer hr {
    border-color: var(--gray-700);
    margin: 2rem 0 1rem;
}

footer small {
    color: var(--gray-500);
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

footer .social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

#backToTop:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.125em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.bounce-in {
    animation: bounceIn 0.6s ease-in-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Primary Background */
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-primary p {
    color: rgba(255, 255, 255, 0.9);
}

.bg-primary .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.bg-primary .fas,
.bg-primary .far,
.bg-primary .fab {
    color: rgba(255, 255, 255, 0.9);
}

.bg-primary .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.bg-primary .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Custom Shadows */
.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--info-color)) 1;
}

/* Warehouse Page Specific Styles */
.warehouse-page .card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: white;
    margin-bottom: 1.5rem;
}

.warehouse-page .card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.warehouse-page .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-bottom: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
    padding: 1.5rem;
}

.warehouse-page .card-header h4 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.warehouse-page .card-body {
    padding: 2rem;
}

.warehouse-page .form-control {
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.warehouse-page .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
}

.warehouse-page .form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

.warehouse-page .form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.warehouse-page .form-select {
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.warehouse-page .form-select-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

.warehouse-page .btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.warehouse-page .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.warehouse-page .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.warehouse-page .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.warehouse-page .form-check {
    margin-bottom: 1rem;
}

.warehouse-page .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    margin-right: 0.5rem;
}

.warehouse-page .form-check-label {
    font-weight: 500;
    color: var(--gray-700);
}

.warehouse-page .form-switch {
    padding-left: 2.5rem;
}

.warehouse-page .form-switch .form-check-input {
    width: 2rem;
    height: 1rem;
    margin-left: -2.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 2rem;
    transition: background-position .15s ease-in-out;
}

.warehouse-page .form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.warehouse-page .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.warehouse-page .input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.warehouse-page .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}

.warehouse-page .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--danger-color);
}

.warehouse-page .form-text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .brand-subtitle {
        display: none;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Cards */
    .card-body {
        padding: 1rem;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    
    /* Tables */
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Forms */
    .form-control {
        padding: 0.625rem 0.875rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    /* Footer */
    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer .col-lg-4:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    /* Container adjustments */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1rem;
    }
    
    .brand-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn {
        width: auto;
    }
    
    /* Tables */
    .table {
        font-size: 0.8rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Forms */
    .form-label {
        font-size: 0.8rem;
    }
    
    .form-control {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
    
    .btn {
        display: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --gray-100: #ffffff;
        --gray-900: #000000;
    }
    
    .card {
        border: 2px solid var(--gray-900);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
} 