/* CFMoto Light Theme - Simple & Modern */

/* Reset & Base Types */
body {
    background-color: #f7f9fc !important; /* Very light blue-grey background */
    color: #333333 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Override inline colors for text */
font {
    color: inherit !important;
    font-family: inherit !important;
}

/* Specific text overrides */
/* White text becomes dark grey */
font[color="#FFFFFF"], 
font[color="#E0E0E0"], 
font[color="#CCCCCC"] {
    color: #444444 !important;
}

/* Light blue accents become a nice CFMoto Blue */
font[color="#A8C7FA"] {
    color: #007bff !important; /* Bootstrap-like primary blue */
}

/* Headings */
b {
    font-weight: 600;
}

/* Links */
a {
    color: #007bff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3 !important;
    text-decoration: none;
}

/* Tables & Layout Structure */
/* Remove dark backgrounds from tables */
table, tr, td {
    background-color: transparent !important;
    border: none !important;
}

/* Main Container - The centered table width 1080 */
body > table {
    background-color: #ffffff !important;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft shadow for card effect */
    border-radius: 12px;
    overflow: hidden; /* To clip the border radius */
    width: 1080px !important; /* Ensure width is respected */
    max-width: 95%; /* Responsive-ish */
}

/* Header Area */
/* The first image row */
body > table > tbody > tr:first-child td {
    padding: 0 !important;
}

/* Navigation Bar */
/* The second row with links */
body > table > tbody > tr:nth-child(2) {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eeeeee;
}
body > table > tbody > tr:nth-child(2) td {
    padding: 20px !important;
}

/* Main Content Areas */
/* Sections that were dark grey (#1A1A1A, #2a2a2a, #252525) */
td[bgcolor="#1A1A1A"], 
td[bgcolor="#2a2a2a"], 
td[bgcolor="#252525"] {
    background-color: #ffffff !important;
    color: #333333 !important;
}

/* Cards / Inner Tables */
/* Example: Product categories, stats */
table table {
    background-color: transparent !important;
}

/* Product/Feature Cards */
/* These are usually in TDs with borders or specific bgcolors in the original */
/* We'll target the cells that contain the icons/images */
td[bgcolor="#2a2a2a"], /* Inner cards */
td[bgcolor="#1e3a5f"] { /* Features */
    background-color: #f8f9fa !important; /* Light grey card bg */
    border-radius: 8px;
    border: 1px solid #eaeaea !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

td[bgcolor="#2a2a2a"]:hover,
td[bgcolor="#1e3a5f"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #ffffff !important;
    border-color: #007bff !important;
}

/* Footer & Dividers */
hr {
    border: 0;
    border-top: 1px solid #eaeaea;
    margin: 20px 0;
    opacity: 1 !important;
    height: 1px;
    background-color: #eaeaea !important;
}

/* Bottom Footer */
td[bgcolor="#0f0f0f"] {
    background-color: #f1f3f5 !important;
    border-top: 1px solid #e1e1e1;
    color: #666 !important;
}

/* Specific icon size tweaks if needed */
font[size="4"] {
    font-size: 2em !important;
    display: block;
    margin-bottom: 10px;
}
