/* FILE: assets/css/style.css */
/* PURPOSE: Global Theme & Responsive Design */

:root {
    --primary: #d32f2f; /* News Red */
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --border: #e2e8f0;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
}

/* --- LAYOUT --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo span { color: var(--primary); }

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    margin-left: 20px;
    font-size: 14px;
}

.main-nav a:hover { color: var(--primary); }

/* --- MAIN CONTENT AREA --- */
.main-body {
    min-height: 80vh;
    padding:1px;

}

/* --- TOOL STYLING (Global) --- */
.tool-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto; /* Center Tool */
}

h1 {


    margin-bottom: 10px;

    text-align: center;
    
   
        margin: 40px 0;
        font-weight: 700;
        font-size: 2.5rem;
        line-height: 1.4;
        color: #2d3748;
    
}

    /* Base style for the highlighted span */
    .highlight {
        display: inline-block;
        padding: 0 5px;
        position: relative;
        z-index: 1;
    }



    /* --- STYLE 21: Double Underline --- */
    .style-21 .highlight {
        border-bottom: 3px double #059669;
        padding-bottom: 3px;
        color: #059669;
    }





textarea {
    width: 100%;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.stats-bar {
    background: var(--dark);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
    font-weight: bold;
}

/* --- CONTENT BOX (SEO Text) --- */
.content-box {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.content-box h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-top: 30px;
}

.content-box p {
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* --- FOOTER --- */
.site-footer {
    background: var(--dark);
    color: #cbd5e1;
    text-align: center;
    padding: 40px 0;
    margin-top: auto;   /* ✅ always push footer to bottom (when layout allows) */
    flex-shrink: 0;     /* ✅ footer height stable */
    font-size: 0.9rem;
}

.site-footer a { color: var(--white); text-decoration: none; }
