/*
Theme Name: Auto Island Credit Pro Theme
Theme URI: https://autoislandcredit.com/
Author: Auto Island Credit
Description: Custom theme for Auto Island Credit used car dealership.
Version: 1.1
Text Domain: autoislandcredit
*/

/* ===== BASE ===== */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #f5f7ff, #e6efff);
    color: #222;
}

a {
    color: #0044cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== LAYOUT ===== */
.site-header,
.site-footer {
    background: #ffffff;
    color: #222;
    padding: 16px 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.site-footer {
    box-shadow: 0 -2px 6px rgba(0,0,0,0.06);
    font-size: 13px;
}

.site-header .branding {
    font-size: 22px;
    font-weight: 700;
    color: #0044cc;
}

.site-main {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 16px 40px;
}

/* ===== 3D BUTTONS ===== */
.btn-3d {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(0,0,0,0.18);
    text-align: center;
    font-size: 14px;
}

.btn-3d-blue {
    background: linear-gradient(180deg, #4b8dff, #0044cc);
    color: #ffffff;
}

.btn-3d-orange {
    background: linear-gradient(180deg, #ffc15a, #ff8a00);
    color: #4a2600;
}

.btn-3d-red {
    background: linear-gradient(180deg, #ff9a8a, #e53935);
    color: #ffffff;
}

/* ===== STATUS BADGES ===== */
.badge-status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.badge-available {
    background: linear-gradient(180deg, #35e48f, #00a85a);
    color: #03351a;
}

.badge-hold {
    background: linear-gradient(180deg, #ffe082, #ffb300);
    color: #4a3200;
}

.badge-sold {
    background: linear-gradient(180deg, #ff9a8a, #8e0000);
    color: #fff3f0;
}

/* ===== CARDS / GRID ===== */
.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.car-card-img {
    border-radius: 14px;
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #dde6ff;
}

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.filter-bar input,
.filter-bar select {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #c5d3ff;
    background: #ffffff;
    color: #222;
    min-width: 130px;
    font-size: 14px;
}

.filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ===== FORMS ===== */
.form-field {
    margin-bottom: 12px;
}

.form-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #223;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #c5d3ff;
    background: #ffffff;
    color: #222;
    font-size: 14px;
}

.form-field textarea {
    min-height: 100px;
}

/* ===== NOTICES ===== */
.notice {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.notice-success {
    background: #e2f8ee;
    border: 1px solid #00a85a;
    color: #064727;
}

.notice-error {
    background: #ffe4e0;
    border: 1px solid #e53935;
    color: #7b1210;
}

/* ===== POLICY BOX ===== */
.policy-box {
    font-size: 13px;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #c5d3ff;
    color: #445;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    color: #111a3a;
    margin-top: 0;
}

p {
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .site-main {
        padding: 0 10px 30px;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}
