/* FILE: public_html/network-planner/styles.css (FINAL BRANDED STYLING) */

/* === Color Variables based on FixxWorx Branding === */
:root {
    --fixxworx-primary: #FF8C00; /* Orange/Amber */
    --fixxworx-secondary: #9955AA; /* Purple */
}

/* === General Page & Container === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa; 
    margin: 0;
    padding: 20px;
}

#net-planner-wizard {
    max-width: 950px;
    margin: 40px auto;
    background: #ffffff; 
    padding: 40px; 
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* === Header & Branding === */
#header-logo-container {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--fixxworx-primary); 
    margin-bottom: 30px;
}
#fixxworx-logo {
    height: 60px; 
    margin-right: 15px;
}
.logo-title {
    color: var(--fixxworx-primary);
    font-size: 2em;
    margin: 0;
    padding: 0;
    border-bottom: none; 
}

h2 { 
    color: var(--fixxworx-secondary); /* Purple section headers */
    font-size: 1.6em;
    margin-top: 30px; 
    margin-bottom: 15px;
}
h3 {
    color: #495057;
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ced4da;
    padding-bottom: 5px;
}

/* === Section Structure and Inputs === */
section {
    margin-bottom: 30px;
    padding: 20px; 
    border: 1px solid #e9ecef;
    border-radius: 8px;
}
label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #343a40;
}
input[type="number"], input[type="email"], select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
.help-text {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: -5px;
    margin-bottom: 15px;
}
.help-text-small {
    font-size: 0.8em;
    color: #6c757d;
    margin-top: 5px;
}

/* === Buttons & CTAs === */
.primary-button {
    background-color: #28a745; /* Keeping Green for GO as standard UX */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    width: 100%;
    margin-top: 15px;
}
.primary-button:hover {
    background-color: #1e7e34;
}

/* Secondary CTA Button (Contact Queries) */
.secondary-button {
    background-color: var(--fixxworx-secondary); /* Purple button */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}
.secondary-button:hover {
    background-color: #804090; 
}
#quick-contact-cta {
    margin: 40px 0;
    padding: 25px;
    border: 1px solid var(--fixxworx-primary); /* Orange border */
    border-radius: 8px;
    background-color: #fff8e1;
    text-align: center;
}
#quick-contact-cta h3 {
    color: var(--fixxworx-secondary); /* Purple heading */
    border-bottom: none;
    margin-top: 0;
}

/* === Advice Boxes === */
.advice-box {
    padding: 15px;
    margin: 15px 0;
    border-left: 5px solid var(--fixxworx-primary); /* Orange strip */
    background-color: #fffff0; /* Cleaner white background */
    border-radius: 4px;
}
.advice-box h4 {
    color: var(--fixxworx-secondary); /* Purple heading */
    margin-top: 0;
}

/* === Tables and Totals (FINAL STYLING) === */

.final-summary {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid var(--fixxworx-primary);
    border-radius: 8px;
    background-color: #e7f3ff;
}
.grand-total-header {
    background: none;
    color: var(--fixxworx-primary);
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    padding: 0;
    margin-bottom: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
th, td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: left;
    font-size: 0.95em;
}
th {
    background-color: #e9ecef;
    font-weight: 600;
    color: #495057;
}
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
tbody tr:hover {
    background-color: #f1f1f1;
}
.contingency-row th, .contingency-row td {
    background-color: #f7dddd;
    color: #dc3545;
    font-style: italic;
}
.total-row th, .total-row td {
    font-weight: bold;
    background-color: var(--fixxworx-primary);
    color: white; /* White text on orange final total */
    border-top: 3px double #343a40;
    font-size: 1.1em;
}

/* Knowledge Center Links */
#how-to-links ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}
#how-to-links a {
    color: var(--fixxworx-secondary);
    text-decoration: none;
}
#how-to-links a:hover {
    text-decoration: underline;
}
.final-note {
    margin-top: 20px;
    padding: 10px;
    background-color: #d4edda; 
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 5px;
    font-weight: 500;
}