body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0 0 20px 0;
    background-color: #f4f4f4;
    color: #333;
}
header {
    background-color: #1e3a8a;
    color: white;
    padding: 20px 0;
    text-align: center;
}
.logo {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.logo .byte {
    color: #60a5fa;
}
.tagline {
    font-size: 1.1em;
    margin: 10px 0 0 0;
    font-style: italic;
}
nav {
    background-color: #3b82f6;
    padding: 10px;
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
nav ul li {
    display: inline;
    margin: 0 15px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
nav ul li a.active {
    border-bottom: 2px solid #bfdbfe;
}

section {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}
.service-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.service-item strong {
    color: #1e3a8a;
}
.benefit {
    background-color: #e0f2fe;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    border-left: 4px solid #3b82f6;
}
.contact-method {
    background-color: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Troubleshooting Page Styles */
.scam-warning {
    background-color: #fef2f2;
    border: 2px solid #dc2626;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.scam-warning h2 {
    color: #dc2626;
    margin-top: 0;
    font-size: 1.5em;
}

.scam-warning-small {
    background-color: #fef3cd;
    border: 1px solid #d4a72c;
    border-radius: 5px;
    padding: 10px;
    margin: 15px 0;
    text-align: center;
    font-size: 0.9em;
}

.troubleshooting-tool {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.troubleshooting-input {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.troubleshooting-tool input[type="text"] {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 16px;
}

.troubleshooting-tool button {
    align-self: center;
    padding: 12px 20px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.troubleshooting-tool button:hover {
    background-color: #2563eb;
}

.suggestion-wrapper {
    min-height: 80px;
}

.suggestion-results {
    background-color: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
}

.suggestion-results.enhanced {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.08);
    padding: 20px;
}

.suggestion-results h4 {
    margin-top: 0;
    color: #1e3a8a;
}

.suggestion-results.enhanced h4 {
    font-size: 1.2rem;
}

.suggestion-results ol {
    margin: 10px 0;
}

.suggestion-results li {
    margin: 8px 0;
    line-height: 1.5;
}

.scam-alert {
    background-color: #fef2f2;
    color: #dc2626;
    font-weight: bold;
    padding: 5px;
    border-radius: 3px;
}

.issue-header p {
    margin-top: 8px;
    color: #1f2937;
}

.match-note {
    font-size: 0.85rem;
    color: #4b5563;
}

.match-note span {
    font-weight: 600;
}

.issue-body {
    display: grid;
    gap: 18px;
    margin: 20px 0;
}

.issue-body section h5 {
    margin: 0 0 8px 0;
    color: #1e3a8a;
    font-size: 1rem;
}

.issue-body ol,
.issue-body ul {
    margin: 0;
    padding-left: 20px;
}

.issue-flags {
    background: #fef2f2;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #fecaca;
}

.issue-tools ul {
    list-style: none;
    padding-left: 0;
}

.issue-tools li {
    margin-bottom: 6px;
}

.issue-tools a {
    color: #2563eb;
    text-decoration: none;
}

.issue-tools a:hover {
    text-decoration: underline;
}

.suggestion-results.multi {
    background: #f8fafc;
    border: 1px solid #dbeafe;
}

.issue-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.issue-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-align: left;
}

.issue-card:hover,
.issue-card:focus-visible {
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.issue-card p {
    margin: 4px 0 0 0;
    color: #4b5563;
    font-size: 0.9rem;
}

.issue-card .issue-chip {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
}

.issue-card strong {
    display: block;
    font-size: 0.95rem;
    color: #111827;
}

.suggestion-results mark {
    background: #fef3c7;
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

.contact-note {
    margin-top: 15px;
    font-style: italic;
    text-align: center;
}

.error-message {
    color: #dc2626;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

.general-tips {
    margin-top: 30px;
}

.tip-box {
    background-color: white;
    border-left: 4px solid #10b981;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tip-box h4 {
    margin-top: 0;
    color: #065f46;
}

/* Contact Form Styles */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.problem-report-form {
    background-color: white;
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-top: 4px solid #3b82f6;
}

.problem-report-form h2 {
    color: #1e3a8a;
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.half {
    /* Used in grid layout */
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #374151;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    display: inline;
    margin: 0;
    font-weight: normal;
    color: #1f2937;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-button {
    background-color: #3b82f6;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: auto;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #2563eb;
}

.submit-button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.form-message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
}

.form-message.success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-message.error {
    background-color: #fef2f2;
    border: 1px solid #dc2626;
    color: #991b1b;
}

.form-message-container {
    min-height: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .troubleshooting-tool input[type="text"] {
        width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
    }
    
    .troubleshooting-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }

    .submit-button {
        width: 100%;
    }
}
footer {
    text-align: center;
    background-color: #1e3a8a;
    color: white;
    padding: 10px 0;
    margin-top: 40px;
    width: 100%;
}

.billing-block {
    background-color: #fefbe8;
    border: 1px solid #facc15;
    border-left: 4px solid #eab308;
    border-radius: 6px;
    padding: 16px;
    margin: 24px 0 8px 0;
}

.billing-block h3 {
    margin-top: 0;
    color: #b45309;
    font-size: 1.1em;
}

.billing-block ul {
    margin: 10px 0 0 18px;
    padding: 0;
}

.billing-block li {
    margin-bottom: 8px;
}

.disclaimer-block {
    background-color: #f8fafc;
    border: 1px solid #cbd5f5;
    border-left: 4px solid #1e3a8a;
    border-radius: 6px;
    padding: 16px;
    margin: 24px 0 8px 0;
}

.disclaimer-block h3 {
    margin-top: 0;
    color: #1e3a8a;
    font-size: 1.1em;
}

.disclaimer-block ul {
    margin: 10px 0 0 18px;
    padding: 0;
}

.disclaimer-block li {
    margin-bottom: 8px;
}

.legal-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.legal-section h1 {
    margin-top: 0;
}

.legal-section h2 {
    margin-top: 28px;
    color: #1e3a8a;
}

.legal-list {
    margin: 12px 0 0 20px;
    padding: 0;
}

.legal-list li {
    margin-bottom: 8px;
}

.footer-links {
    margin: 10px 0;
    font-size: 0.95em;
}

.footer-links a {
    color: #bfdbfe;
    text-decoration: underline;
    margin: 0 6px;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #ffffff;
}

.legal-note {
    font-size: 0.85em;
    margin: 0;
}

.consent-text {
    font-size: 0.85em;
    color: #374151;
    background-color: #f8fafc;
    border-left: 3px solid #3b82f6;
    padding: 10px 12px;
    margin: 10px 0 18px 0;
}

.consent-text a {
    color: #1e3a8a;
    text-decoration: underline;
}
