/*
Theme Name: WP-Safe
Theme URI: https://wp-safe.pl
Author: WP-Safe Team
Author URI: https://wp-safe.pl
Description: Custom theme for WP-Safe services
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-safe
*/

/* Main styles are loaded from src/output.css */

/* Contact Form 7 Custom Styles */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    /* px-3 py-2.5 */
    background-color: #f8fafc;
    /* bg-slate-50 */
    border: 1px solid #cbd5e1;
    /* border-slate-300 */
    border-radius: 0.5rem;
    /* rounded-lg */
    font-size: 0.875rem;
    /* text-sm */
    color: #0f172a;
    /* text-slate-900 */
    transition: all 0.2s;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #2563eb;
    /* ring-2 ring-primary (assuming blue-600) */
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #94a3b8;
    /* placeholder-slate-400 */
}

.wpcf7-form label {
    display: block;
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    /* font-medium */
    color: #0f172a;
    /* text-slate-900 */
    margin-bottom: 0.25rem;
    /* Reduced gap */
}

/* Fix for privacy checkbox alignment */
.wpcf7-acceptance label,
.wpcf7-acceptance .wpcf7-list-item-label {
    display: inline;
    font-weight: 400;
    margin-bottom: 0;
    color: #475569;
}

.wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
}

/* Hide the default CF7 checkbox if we want to style custom, 
   but for now let's just ensure layout is correct */
.wpcf7-acceptance input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
    margin-right: 0;
    border-radius: 0.25rem;
    border-color: #cbd5e1;
    color: #2563eb;
    /* primary */
}

/* Checkbox styling */
.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item-label {
    font-size: 0.875rem;
    color: #475569;
    /* text-slate-600 */
}

/* Submit button override if needed, though the HTML button should work */
.wpcf7-submit {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #2563eb;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.wpcf7-submit:hover {
    background-color: #1d4ed8;
}

@media (min-width: 768px) {
    .wpcf7-submit {
        width: auto;
    }
}

/* 
   Typography for standard pages (e.g. Privacy Policy) 
   Targeting .prose class used in page.php
*/
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #0f172a;
    /* text-slate-900 */
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.prose h1 {
    font-size: 2.25rem;
    margin-top: 0;
}

.prose h2 {
    font-size: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.prose h3 {
    font-size: 1.5rem;
}

.prose h4 {
    font-size: 1.25rem;
}

.prose p {
    margin-bottom: 1.25em;
    line-height: 1.75;
    color: #475569;
    /* text-slate-600 */
}

.prose ul,
.prose ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
    color: #475569;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose strong {
    color: #0f172a;
    font-weight: 600;
}

.prose a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover {
    color: #1d4ed8;
}

.prose blockquote {
    border-left: 4px solid #e2e8f0;
    padding-left: 1em;
    font-style: italic;
    color: #64748b;
    margin-bottom: 1.25em;
}

.wp-singular #header {
    background-color: #0a0a0a !important;
}