/* ========================================
   NISSAN CVT FAILURE DATABASE
   Main Stylesheet
   ======================================== */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background-color: #f5f5f0;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #0a0a1a;
}

h2 {
    font-size: 1.8rem;
    border-left: 5px solid #cc3300;
    padding-left: 15px;
}

h2 {
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h2:first-of-type {
    margin-top: 0;
}

/* ---------- WARNING SECTION (THE IMPORTANT PART) ---------- */
.warning-box {
    background-color: #fff3e0;
    border-left: 5px solid #cc3300;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.warning-box h3 {
    color: #cc3300;
    margin-top: 0;
}

/* ---------- LINKS ---------- */
a {
    color: #cc3300;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

a:hover {
    border-bottom-color: #cc3300;
}

/* ---------- FORMS (for your database submission) ---------- */
input, textarea, select, button {
    font-family: inherit;
    font-size: 1rem;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #1a1a2e;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #cc3300;
}

/* ---------- DATA TABLE (for displaying failure records) ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #1a1a2e;
    color: white;
}

tr:hover {
    background-color: #f0f0f0;
}

/* ---------- FOOTER ---------- */
footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

/* ---------- DISCLAIMER (for legal protection) ---------- */
.disclaimer {
    background-color: #f8f8f8;
    padding: 15px;
    font-size: 0.8rem;
    color: #555;
    border: 1px solid #eee;
    margin-top: 30px;
}