/* Legal pages styling (Privacy, Terms, About, Contact) */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-content section {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.legal-content h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.legal-content h3 {
    color: #444;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.legal-content h4 {
    color: #555;
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.legal-content p {
    margin: 10px 0;
    color: #444;
}

.legal-content ul {
    margin: 10px 0;
    padding-left: 25px;
}

.legal-content li {
    margin: 8px 0;
    color: #444;
}

.legal-content a {
    color: #007cba;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    text-align: center;
}

/* Disclaimer box */
.disclaimer-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    margin: 15px 0;
}

.disclaimer-box p {
    margin: 10px 0;
    color: #856404;
}

/* Tool descriptions */
.tool-description {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.tool-description h3 {
    color: #007cba;
    margin-top: 0;
}

.tool-description h4 {
    color: #333;
    margin-top: 15px;
    font-size: 1em;
}

/* FAQ styling */
.faq-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin: 15px 0;
}

.faq-item h4 {
    color: #007cba;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.faq-item p {
    margin: 0;
    color: #555;
}

/* Contact form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .submit-btn {
    background: #28a745;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.contact-form .submit-btn:hover {
    background: #218838;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.success-message h3 {
    color: #155724;
    margin-top: 0;
}

.success-message p {
    color: #155724;
}

.success-message button {
    margin-top: 15px;
}

/* Contact methods */
.contact-methods {
    display: grid;
    gap: 20px;
}

.contact-method {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.contact-method h4 {
    color: #007cba;
    margin-top: 0;
}

.contact-link {
    display: inline-block;
    background: #007cba;
    color: white !important;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: bold;
}

.contact-link:hover {
    background: #005a87;
}

/* Site footer */
.site-footer {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid #ddd;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #007cba;
    text-decoration: underline;
}

.copyright {
    color: #999;
    font-size: 13px;
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .legal-content section {
        padding: 20px 15px;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}
