/*
 * Custom Contact Form 7 Styles
 * Matches Holistic Council Theme (Rounded, Soft Shadows, Primary Colors)
 */

.wpcf7-form {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.wpcf7-form label {
    font-weight: 600;
    color: var(--hc-blue, #163673);
    margin-bottom: 0.5rem;
    display: block;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Inputs & Textareas */
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select,
.wpcf7-number,
.wpcf7-date {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    /* Soft rounding */
    background-color: #f9f9f9;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus,
.wpcf7-number:focus,
.wpcf7-date:focus {
    outline: none;
    border-color: var(--hc-blue, #163673);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(22, 54, 115, 0.1);
}

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

/* Submit Button */
.wpcf7-submit {
    background-color: var(--hc-blue, #163673);
    color: white;
    font-weight: 600;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    display: block;
    width: 100%;
}

.wpcf7-submit:hover {
    background-color: #ecc94b;
    /* Gold hover from inspiration/theme */
    color: #163673;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.wpcf7-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.wpcf7-spinner {
    margin: 10px auto 0;
}

/* Validation Messages */
.wpcf7-not-valid-tip {
    font-size: 0.85rem;
    color: #e53e3e;
    margin-top: 0.5rem;
    display: block;
}

.wpcf7-response-output {
    margin-top: 2rem !important;
    padding: 1rem !important;
    border-radius: 10px !important;
    border: none !important;
    text-align: center;
    font-weight: 500;
}

.wpcf7-response-output.wpcf7-display-none {
    display: none;
}

.wpcf7-response-output.wpcf7-validation-errors {
    background-color: #fff5f5;
    color: #c53030;
    border: 1px solid #c53030 !important;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #f0fff4;
    color: #2f855a;
    border: 1px solid #2f855a !important;
}

/* Placeholder color */
::placeholder {
    color: #aaa;
    opacity: 1;
}