:root {
    --johnson-primary: #2c5aa0;
    --johnson-primary-dark: #1e3f73;
    --johnson-primary-light: #4a7bc8;
    --johnson-secondary: #17a2b8;
    --johnson-secondary-light: #5bc0de;
    --johnson-accent: #28a745;
    --johnson-dark-grey: #343a40;
    --johnson-grey: #495057;
    --johnson-light-grey: #f8f9fa;
    --johnson-white: #ffffff;
    --johnson-gradient: linear-gradient(135deg, var(--johnson-primary) 0%, var(--johnson-secondary) 100%);
}

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    color: var(--johnson-grey);
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(44, 90, 160, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(23, 162, 184, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(40, 167, 69, 0.03) 0%, transparent 50%);
    background-size: 600px 600px, 400px 400px, 300px 300px;
    background-position: 0 0, 100% 100%, 50% 50%;
    animation: floatingPattern 30s ease-in-out infinite;
    z-index: -1;
}

@keyframes floatingPattern {
    0%, 100% { 
        background-position: 0 0, 100% 100%, 50% 50%; 
    }
    50% { 
        background-position: 100% 0, 0 100%, 80% 20%; 
    }
}

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--johnson-primary) 0%, var(--johnson-secondary) 30%, var(--johnson-accent) 70%, var(--johnson-primary) 100%);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

.logo-container img {
    max-height: 60px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

nav a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--johnson-grey) !important;
    transition: all 0.3s ease;
    margin-left: 1.5rem;
    position: relative;
}

nav a:hover {
    color: var(--johnson-secondary) !important;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--johnson-primary), var(--johnson-secondary));
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

main {
    min-height: 70vh;
    padding: 3rem 0;
}

/* Johnson Page Header */
.johnson-page-header {
    margin-bottom: 2rem;
}

.johnson-page-icon {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--johnson-primary), var(--johnson-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
    animation: pulse 2s infinite;
}

.johnson-page-icon i {
    font-size: 28px;
    color: white;
}

/* Johnson Hero Content */
.johnson-hero-content {
    position: relative;
}

.johnson-hero-icon {
    display: inline-block;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--johnson-secondary), var(--johnson-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 12px 35px rgba(23, 162, 184, 0.4);
    animation: pulse 2s infinite;
}

.johnson-hero-icon i {
    font-size: 36px;
    color: white;
}

/* Johnson Content Section */
.johnson-content-section {
    text-align: center;
}

.johnson-section-header {
    margin-bottom: 2rem;
}

.johnson-section-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--johnson-accent), var(--johnson-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
    animation: pulse 2s infinite;
}

.johnson-section-icon i {
    font-size: 32px;
    color: white;
}

.johnson-section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--johnson-primary);
    margin-bottom: 0;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h1::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    bottom: 0;
    left: 20%;
    background: linear-gradient(90deg, var(--johnson-primary), var(--johnson-secondary), var(--johnson-primary));
}

.page-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

form {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--johnson-primary) 0%, var(--johnson-secondary) 50%, var(--johnson-primary) 100%);
}

.form-label {
    font-weight: 600;
    color: var(--johnson-grey);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--johnson-primary);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    transform: translateY(-2px);
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--johnson-primary), var(--johnson-primary-dark));
    border: 2px solid transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 32px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--johnson-primary-dark), var(--johnson-primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
    border-color: var(--johnson-secondary);
}

.btn-primary:hover::before {
    left: 100%;
}

.premium-texture-bg {
    background: linear-gradient(135deg, #1e3f73 0%, #2c5aa0 30%, #17a2b8 70%, #1e3f73 100%);
    position: relative;
    overflow: hidden;
}

.premium-texture-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><rect width="80" height="80" fill="none"/><circle cx="40" cy="40" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="60" cy="20" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="20" cy="60" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="60" cy="60" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: 80px 80px;
    z-index: 1;
}

.premium-texture-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(23, 162, 184, 0.2) 0%, rgba(0, 0, 0, 0) 50%),
                radial-gradient(circle at 70% 30%, rgba(44, 90, 160, 0.2) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 2;
}

footer {
    background-color: var(--johnson-light-grey);
    color: var(--johnson-grey);
    padding: 2rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--johnson-primary) 0%, var(--johnson-secondary) 30%, var(--johnson-accent) 70%, var(--johnson-primary) 100%);
    box-shadow: 0 -2px 8px rgba(44, 90, 160, 0.3);
}

footer img {
    filter: brightness(1.2) contrast(1.1);
    max-height: 60px;
    transition: transform 0.3s ease;
}

footer img:hover {
    transform: scale(1.05);
}

.warranty-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.warranty-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--johnson-primary), var(--johnson-secondary));
}

.warranty-info h3 {
    color: var(--johnson-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.warranty-info ul {
    padding-left: 1.5rem;
}

.warranty-info li {
    margin-bottom: 0.5rem;
    position: relative;
}

.warranty-info li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--johnson-primary);
    position: absolute;
    left: -1.5rem;
}

.chevron-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.chevron-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(135deg, transparent 49.5%, rgba(44, 90, 160, 0.12) 49.5%, rgba(44, 90, 160, 0.12) 50.5%, transparent 50.5%),
        linear-gradient(45deg, transparent 49.5%, rgba(23, 162, 184, 0.08) 49.5%, rgba(23, 162, 184, 0.08) 50.5%, transparent 50.5%);
    background-size: 40px 40px;
    z-index: 0;
}

/* Table Styling */
.table-responsive {
    margin: 20px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.table {
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, var(--johnson-dark-grey), var(--johnson-grey));
    color: var(--johnson-white);
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 1rem;
    vertical-align: middle;
    position: relative;
}

.table thead th:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--johnson-primary), var(--johnson-secondary), var(--johnson-primary));
    opacity: 0.7;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.status-active {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.status-out {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.status-pending {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    color: #856404;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.status-approved {
    background: linear-gradient(135deg, #cce5ff, #b8daff);
    color: #004085;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.status-rejected {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.status-cancelled {
    background: linear-gradient(135deg, #e2e3e5, #d6d8db);
    color: #383d41;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    nav a {
        font-size: 12px;
        margin-left: 1rem;
    }

    .btn-primary {
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    .page-description {
        font-size: 1rem;
    }

    nav a {
        font-size: 11px;
        margin-left: 0.75rem;
    }

    .form-label {
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* No Orders Message Styles */
#no-orders-message,
#no-orders-home-message {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#no-orders-message::before,
#no-orders-home-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--johnson-primary) 0%, var(--johnson-secondary) 50%, var(--johnson-primary) 100%);
}

#no-orders-message i,
#no-orders-home-message i {
    color: var(--johnson-primary);
    opacity: 0.7;
    animation: pulse 2s infinite;
}

#no-orders-message h3,
#no-orders-home-message h3 {
    color: var(--johnson-grey);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#no-orders-message .btn-outline-secondary,
#no-orders-home-message .btn-outline-secondary {
    border-color: var(--johnson-grey);
    color: var(--johnson-grey);
    transition: all 0.3s ease;
}

#no-orders-message .btn-outline-secondary:hover,
#no-orders-home-message .btn-outline-secondary:hover {
    background-color: var(--johnson-grey);
    border-color: var(--johnson-grey);
    color: var(--johnson-white);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* File Upload Styling */
.form-control[type="file"] {
    padding: 0.5rem;
}

.form-control[type="file"]:focus {
    border-color: var(--johnson-primary);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

#carImagesCount,
#carLicencesCount {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

#carImagesCount.text-success,
#carLicencesCount.text-success {
    color: #28a745 !important;
}

#carImagesCount.text-danger,
#carLicencesCount.text-danger {
    color: #dc3545 !important;
}

#carImagesCount.text-muted,
#carLicencesCount.text-muted {
    color: #6c757d !important;
}

/* Painted Disclaimer Styling */
#paintedDisclaimer {
    border-left: 4px solid #ffc107;
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
    font-size: 0.9rem;
    animation: slideDown 0.3s ease-out;
}

#paintedDisclaimer i {
    color: #f39c12;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}