/*
Theme Name: Accounting Your Life
Theme URI: https://accountingyourlife.com
Author: AYL Web Team
Author URI: https://accountingyourlife.com
Description: Custom theme for Accounting Your Life — a boutique accounting & advisory firm. Luxury-minimal, cream-dominant, firm-grade editorial design system. Classic PHP custom theme (non-FSE). "Governance Before Scale."
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ayl
Tags: custom-theme, advisory, editorial, classic
*/

/*
 * NOTE: This file is REQUIRED by WordPress for the theme header above.
 * Actual styles are split into modular files enqueued via functions.php:
 *   - assets/css/tokens.css      (design tokens / CSS variables)
 *   - assets/css/base.css        (reset, typography, buttons, globals)
 *   - assets/css/components.css  (nav, footer, shared components)
 * Per-page and per-section styles are added in later phases.
 * Do not add page styles here.
 */


/* Contact Form 7 global form styling */
.wpcf7 .form-section h3 {margin:20px 0;}

.wpcf7 .name-field {
width:calc(50% - 10px)!important;
}

.wpcf7 .form-row {
margin-bottom: 26px;
}

.wpcf7 label {
display: block;
margin-bottom: 10px;
font-weight: 700;
line-height: 1.3;
}

.wpcf7 .required {
color: #c0392b;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
width: 100%;
padding: 10px 12px;
border: 1px solid #b8b8b8;
border-radius: 2px;
background: #fff;
font-size: 16px;
line-height: 1.4;
box-sizing: border-box;
}

.wpcf7 textarea {
min-height: 122px;
resize: vertical;
}

.wpcf7 .name-fields {
display: flex;
gap: 20px;
flex-wrap: wrap;
}

.wpcf7 .name-field {
width: 186px;
}

.wpcf7 .name-field input {
width: 100%;
}

.wpcf7 .field-sub-label {
display: block;
margin-top: 6px;
font-size: 14px;
color: #555;
font-weight: 400;
}

.wpcf7 .wpcf7-list-item {
    margin:0;
}

.wpcf7 .consent-row .wpcf7-list-item {
margin-left: 0;
}

.wpcf7 .consent-row label {
margin-bottom: 12px;
}

.wpcf7 .consent-row .wpcf7-form-control-wrap {
display: block;
}

.wpcf7 .consent-row .wpcf7-list-item label {
display: flex;
align-items: flex-start;
gap: 10px;
font-weight: 400;
line-height: 1.35;
}

.wpcf7 input[type="checkbox"] {
width: 18px;
height: 18px;
margin-top: 2px;
flex: 0 0 auto;
}

.wpcf7 input[type="submit"] {
padding: 10px 15px;
border: 0;
border-radius: 3px;
background: #0073aa;
color: #fff;
font-size: 16px;
line-height: 1.2;
cursor: pointer;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus {
background: #005f8d;
}

@media (max-width: 600px) {
    .wpcf7 form {
        max-width: 100%;
    }

    .wpcf7 .name-fields {
        display: block;
    }

    .wpcf7 .name-field {
        width: 100%;
        margin-bottom: 14px;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="url"],
    .wpcf7 input[type="number"],
    .wpcf7 input[type="date"],
    .wpcf7 textarea,
    .wpcf7 select {
        max-width: 100%;
    }
}