/* ====================== NAVBAR ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body */
body {
    font-family: 'Arial', sans-serif;
    background-color: #4A90E2;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    transition: transform 0.2s ease;
    cursor: pointer;
}

/* Hover efekt */
.logo-img:hover {
    transform: scale(1.05);
}

/* Menu */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 5px;
    transition: background 0.25s ease;
}

/* Hover + aktivní stránka */
.nav-links li a:hover {
    background-color: #A0CFFF;
}

.nav-links li a.active {
    background-color: #A0CFFF;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }

/* Responzivita */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        order: 2;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        right: 0;
        width: 100%;
        background-color: #fff;
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-links li {
        margin: 10px 0;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ====================== FOOTER ====================== */
.footer {
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 20px 0;
    font-weight: bold;
}

/* ====================== O NÁS ====================== */
body.about-page {
    font-family: Arial, sans-serif;
    background-color: #4A90E2;
    color: #333;
}

/* hlavička */
body.about-page .about-hero {
    background-color: #3678c1;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

body.about-page .about-hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

body.about-page .about-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* OBSAH */
body.about-page .about-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    gap: 30px;
}

body.about-page .about-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

body.about-page .about-box h2 {
    color: #4A90E2;
    margin-bottom: 15px;
}

body.about-page .about-box p {
    line-height: 1.6;
}

body.about-page .about-box ul {
    padding-left: 20px;
}

body.about-page .about-box ul li {
    margin-bottom: 8px;
}

/* RESPONZIVITA */
@media (max-width: 768px) {
    body.about-page .about-hero h1 {
        font-size: 34px;
    }

    body.about-page .about-content {
        margin: 20px auto;
    }
}

/* ====================== PŘIDÁNÍ AUTA ====================== */
body.add-vehicle-page .container {
    max-width: 700px;
    margin: 60px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body.add-vehicle-page .container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #1f4fa3;
}

body.add-vehicle-page form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

body.add-vehicle-page form label {
    font-weight: 600;
    color: #333;
}

body.add-vehicle-page form input,
body.add-vehicle-page form select,
body.add-vehicle-page form textarea {
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

body.add-vehicle-page form input:focus,
body.add-vehicle-page form select:focus,
body.add-vehicle-page form textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

body.add-vehicle-page form textarea {
    resize: vertical;
    min-height: 100px;
}

body.add-vehicle-page form .btn {
    margin-top: 20px;
    padding: 14px;
    background-color: #4A90E2;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
}

body.add-vehicle-page form .btn:hover {
    background-color: #3678c1;
    transform: translateY(-1px);
}

body.add-vehicle-page .errors {
    background-color: #ffeaea;
    border: 1px solid #ffb3b3;
    color: #b10000;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

body.add-vehicle-page .errors p {
    margin: 5px 0;
}

body.add-vehicle-page .success {
    background-color: #e8f4ff;
    border: 1px solid #4A90E2;
    color: #1f4fa3;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
    body.add-vehicle-page .container {
        margin: 30px 15px;
        padding: 25px;
    }

    body.add-vehicle-page .container h2 {
        font-size: 26px;
    }
}

/* ====================== INDEX ====================== */
body.index-page {
    font-family: Arial, sans-serif;
    background-color: #4A90E2;
    color: #333;
    line-height: 1.6;
}

/* Hlavička s videem */
body.index-page .hero-video {
    width: 100%;
    max-width: 1600px;
    margin: 120px auto 40px auto; /* více prostoru nad videem */
    overflow: hidden;
}

body.index-page .hero-video-bg {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    border-radius: 10px;
}

body.index-page .hero-video-content {
    text-align: center;
    color: #fff;
    margin-bottom: 150px;
}

body.index-page .hero-video-content h1 {
    font-size: 60px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

body.index-page .hero-video-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

body.index-page .hero-video-content .btn {
    padding: 15px 35px;
    background-color: #FF6B00;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

body.index-page .hero-video-content .btn:hover {
    background-color: #e55a00;
}

/* Poslední inzeráty */
body.index-page .latest-cars {
    padding: 50px 20px;
    text-align: center;
}

body.index-page .latest-cars h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

body.index-page .cars-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

body.index-page .car-card {
    background-color: #fff;
    border-radius: 10px;
    width: 280px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

body.index-page .car-card:hover {
    transform: translateY(-5px);
}

body.index-page .car-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

body.index-page .car-card h3 {
    margin: 15px;
    font-size: 22px;
}

body.index-page .car-card p {
    margin: 0 15px 10px;
    font-size: 18px;
    color: #4A90E2;
}

body.index-page .car-card .btn {
    display: inline-block;
    margin: 0 15px 15px;
    padding: 10px 25px;
    background-color: #4A90E2;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

body.index-page .car-card .btn:hover {
    background-color: #3678c1;
}

/* O nás */
body.index-page .about {
    padding: 50px 20px;
    text-align: center;
}

body.index-page .about h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

body.index-page .about p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
    body.index-page .hero-video-content h1 { font-size: 40px; }
    body.index-page .hero-video-content p { font-size: 16px; }

    body.index-page .cars-container { flex-direction: column; align-items: center; }
    body.index-page .car-card { width: 90%; }
}

/* ====================== LOGIN ====================== */
body.login-page {
    font-family: Arial, sans-serif;
    background-color: #4A90E2;
    margin: 0;
    min-height: 100vh;
}

body.login-page .auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    box-sizing: border-box;
}

body.login-page .auth-form {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.login-page .auth-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1f4fa3;
    font-size: 30px;
}

body.login-page .auth-form input {
    padding: 13px 15px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

body.login-page .auth-form input:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.25);
}

body.login-page .auth-form .btn {
    margin-top: 10px;
    padding: 14px;
    background-color: #4A90E2;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
}

body.login-page .auth-form .btn:hover {
    background-color: #3678c1;
    transform: translateY(-1px);
}

/* errors */
body.login-page .errors {
    background-color: #ffeaea;
    border: 1px solid #ffb3b3;
    color: #b10000;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

body.login-page .errors p {
    font-size: 14px;
    margin: 4px 0;
}

/* mobil */
@media (max-width: 480px) {
    body.login-page .auth-form {
        padding: 30px 25px;
    }

    body.login-page .auth-form h2 {
        font-size: 26px;
    }
}

/* ====================== PROFIL ====================== */
body.profile-page .container {
    max-width: 1000px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

body.profile-page .container h1 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #2e3a4e;
    font-weight: 700;
}

body.profile-page .user-cars {
    margin-top: 20px;
}

body.profile-page .cars-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

body.profile-page .car-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: 0.25s ease;
}

body.profile-page .car-card:hover {
    transform: translateY(-5px);
}

body.profile-page .car-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

body.profile-page .car-card h3 {
    margin: 15px;
    font-size: 20px;
    font-weight: 600;
}

body.profile-page .car-card p {
    margin: 0 15px 15px;
    font-size: 17px;
    color: #4A90E2;
}

body.profile-page .car-actions {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px;
}

body.profile-page .btn {
    padding: 10px 18px;
    background: #4A90E2;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}

body.profile-page .btn:hover {
    background: #3678c1;
}

body.profile-page .delete-btn {
    background: #e85a5a;
}

body.profile-page .delete-btn:hover {
    background: #d44949;
}

/* ====================== REGISTRACE ====================== */
body.register-page {
    font-family: 'Arial', sans-serif;
    background-color: #4A90E2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.register-page .container {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

body.register-page form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.register-page form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #1f4fa3;
    font-size: 30px;
}

body.register-page form input {
    padding: 13px 15px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

body.register-page form input:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.25);
}

body.register-page form .btn {
    margin-top: 10px;
    padding: 14px;
    background-color: #4A90E2;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
}

body.register-page form .btn:hover {
    background-color: #3678c1;
    transform: translateY(-1px);
}

body.register-page .errors {
    background-color: #ffeaea;
    border: 1px solid #ffb3b3;
    color: #b10000;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

body.register-page .errors p {
    font-size: 14px;
    margin: 4px 0;
}

body.register-page .success {
    background-color: #e8f4ff;
    border: 1px solid #4A90E2;
    color: #1f4fa3;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

body.register-page .modal {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.5);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:1000;
}

body.register-page .modal-content {
    background:white;
    padding:30px;
    border-radius:12px;
    text-align:center;
    max-width:400px;
    width:90%;
    box-shadow:0 10px 25px rgba(0,0,0,0.25);
    animation: fadeIn 0.3s ease;
}

body.register-page .modal-content h3 {
    color:#4A90E2;
    margin-bottom:15px;
}

body.register-page .modal-content p {
    font-size:16px;
    line-height:1.5;
    margin-bottom:20px;
}

body.register-page .modal-content button {
    padding:10px 25px;
    background:#4A90E2;
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
}

body.register-page .modal-content button:hover { background:#3678c1; }

@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
    body.register-page .modal-content h3 { font-size:20px; }
    body.register-page .modal-content p { font-size:14px; }
    body.register-page .modal-content button { font-size:14px; padding:8px 20px; }
    body.register-page .container { padding: 30px 25px; }
    body.register-page form h2 { font-size: 26px; }
}

/* ====================== DETAIL AUTA ====================== */
body.detail-page {
    font-family: 'Arial', sans-serif;
    background-color: #4A90E2;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

body.detail-page .car-header {
    padding: 30px 20px;
    text-align: center;
}

body.detail-page .car-header h1 {
    margin: 0 0 10px 0;
    font-size: 40px;
    color: #fff;
}

body.detail-page .car-header p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}

body.detail-page .car-detail {
    padding: 50px 20px;
    max-width: 900px;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

body.detail-page .car-detail img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
    transition: transform 0.3s;
}

body.detail-page .car-detail img:hover {
    transform: scale(1.02);
}

body.detail-page .car-detail h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

body.detail-page .car-detail p.price {
    font-size: 22px;
    font-weight: bold;
    color: #4A90E2;
    text-align: center;
    margin-bottom: 15px;
}

body.detail-page .car-detail p.description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

body.detail-page .car-detail p.contact {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #222;
    background-color: #eaf4ff;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    body.detail-page .car-detail {
        padding: 30px 15px;
    }

    body.detail-page .car-detail h2 {
        font-size: 26px;
    }

    body.detail-page .car-detail p.price {
        font-size: 20px;
    }

    body.detail-page .car-detail p.description,
    body.detail-page .car-detail p.contact {
        font-size: 16px;
    }
}

/* ====================== STRANKA VEHICLES ====================== */
body.vehicles-page {
    font-family: 'Arial', sans-serif;
    background-color: #4A90E2;
    color: #333;
    line-height: 1.6;
}

/* Hero sekce */
body.vehicles-page .hero-video {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: #3678c1;
}

body.vehicles-page .hero-video-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: #fff;
    padding: 20px;
}

body.vehicles-page .hero-video-content h1 { font-size: 50px; margin-bottom: 10px; }
body.vehicles-page .hero-video-content p { font-size: 18px; }

/* Výpis aut */
body.vehicles-page .latest-cars {
    padding: 50px 20px;
    text-align: center;
}

body.vehicles-page .latest-cars h2 { font-size: 36px; margin-bottom: 40px; }

body.vehicles-page .cars-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

body.vehicles-page .car-card {
    background-color: #fff;
    border-radius: 10px;
    width: 280px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

body.vehicles-page .car-card:hover { transform: translateY(-5px); }

body.vehicles-page .car-card img { width: 100%; height: 180px; object-fit: cover; }

body.vehicles-page .car-card h3 { margin: 15px; font-size: 22px; }

body.vehicles-page .car-card p { margin: 0 15px 10px; font-size: 18px; color: #4A90E2; }

body.vehicles-page .car-card .btn {
    display: inline-block;
    margin: 0 15px 15px;
    padding: 10px 25px;
    background-color: #4A90E2;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

body.vehicles-page .car-card .btn:hover { background-color: #3678c1; }

/* Filtr inzerátů */
body.vehicles-page .filter-section {
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    max-width: 900px;
    margin: 30px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

body.vehicles-page .filter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.vehicles-page .filter-form input[type="text"],
body.vehicles-page .filter-form input[type="number"] {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

body.vehicles-page .price-range {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.vehicles-page .range-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #4A90E2;
    -webkit-appearance: none;
}

body.vehicles-page .range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #FF6B00;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    margin-top: -7px;
}

body.vehicles-page .range-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #FF6B00;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

body.vehicles-page .range-values {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #000;
}

body.vehicles-page .filter-form .btn {
    width: 150px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #4A90E2;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s;
}

body.vehicles-page .filter-form .btn:hover {
    background-color: #3678c1;
}

/* Mobil */
@media (max-width: 768px) {
    body.vehicles-page .hero-video-content h1 { font-size: 35px; }
    body.vehicles-page .hero-video-content p { font-size: 16px; }

    body.vehicles-page .cars-container { flex-direction: column; align-items: center; }
    body.vehicles-page .car-card { width: 90%; }

    body.vehicles-page .filter-section { padding: 20px; }
    body.vehicles-page .filter-form .btn { width: 100%; }
}

/* ====================== OVĚŘOVACÍ STRÁNKA ====================== */
body.verify-page {
    font-family: Arial, sans-serif;
    background: #4A90E2;
    color: #fff;
    text-align: center;
    padding: 50px;
}

body.verify-page .modal {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

body.verify-page .modal-content {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

body.verify-page .modal-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

body.verify-page .modal-content a {
    display: inline-block;
    padding: 10px 20px;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

body.verify-page .modal-content a:hover {
    background: #3678c1;
}

/* ====================== EDIT AUTA ====================== */
body.edit-vehicle-page {
    background-color: #4A90E2;
    font-family: Arial, sans-serif;
    color: #111;
}

body.edit-vehicle-page .add-car-form {
    max-width: 1100px;             /* širší */
    width: min(1100px, 92%);
    margin: 110px auto 90px auto;  /* mezera od navbaru i footeru */
    padding: 34px 40px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(6px);
}

body.edit-vehicle-page .add-car-form h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 26px;
    color: #1f4fa3;
    letter-spacing: 0.2px;
}

body.edit-vehicle-page .add-car-form .errors {
    background: #ffeaea;
    border: 1px solid #ffb3b3;
    color: #b10000;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
}

body.edit-vehicle-page .add-car-form .errors p {
    margin: 6px 0;
    font-size: 14px;
}

body.edit-vehicle-page .add-car-form label {
    display: block;
    font-weight: 700;
    margin: 10px 0 8px 0;
    color: #222;
}

body.edit-vehicle-page .add-car-form input[type="text"],
body.edit-vehicle-page .add-car-form input[type="number"],
body.edit-vehicle-page .add-car-form input[type="file"],
body.edit-vehicle-page .add-car-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    font-size: 15px;
    transition: box-shadow .2s ease, border-color .2s ease, transform .12s ease;
}

body.edit-vehicle-page .add-car-form input:focus,
body.edit-vehicle-page .add-car-form textarea:focus {
    outline: none;
    border-color: rgba(74, 144, 226, 0.9);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.22);
}

body.edit-vehicle-page .add-car-form textarea {
    min-height: 140px;
    resize: vertical;
}

body.edit-vehicle-page .add-car-form .btn,
body.edit-vehicle-page .add-car-form button[type="submit"] {
    margin-top: 18px;
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #4A90E2, #3678c1);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: transform .15s ease, filter .2s ease;
}

body.edit-vehicle-page .add-car-form .btn:hover,
body.edit-vehicle-page .add-car-form button[type="submit"]:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
}

body.edit-vehicle-page .add-car-form .btn:active,
body.edit-vehicle-page .add-car-form button[type="submit"]:active {
    transform: translateY(0);
}

/* mobil */
@media (max-width: 768px) {
    body.edit-vehicle-page .add-car-form {
        width: calc(100% - 30px);
        margin: 95px 15px 70px 15px;
        padding: 24px 18px;
        border-radius: 14px;
    }

    body.edit-vehicle-page .add-car-form h2 {
        font-size: 26px;
    }
}