/* CCA Contact Form Styles */

.cca-contact-form-wrap {
    max-width: 720px;
}

.cca-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cca-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.cca-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cca-field.cca-full {
    flex: 1 1 100%;
}

.cca-field.cca-half {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
}

.cca-field label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.cca-required {
    color: #c0392b;
    margin-left: 2px;
}

.cca-field input[type="text"],
.cca-field input[type="email"],
.cca-field select,
.cca-field textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
    color: #1a1a1a;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.cca-field input:focus,
.cca-field select:focus,
.cca-field textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
}

.cca-field textarea {
    resize: vertical;
    min-height: 140px;
}

.cca-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* Honeypot */
.cca-hp {
    display: none !important;
    visibility: hidden;
}

/* Submit button */
.cca-submit-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
    font-family: inherit;
}

.cca-submit-btn:hover {
    background: #333;
}

.cca-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Messages */
.cca-form-messages {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.cca-form-messages.cca-success {
    background: #edf7ed;
    border: 1px solid #4caf50;
    color: #2e7d32;
    display: block;
}

.cca-form-messages.cca-error {
    background: #fdecea;
    border: 1px solid #f44336;
    color: #c62828;
    display: block;
}

/* Mobile */
@media (max-width: 600px) {
    .cca-form-row {
        flex-direction: column;
        gap: 0;
    }

    .cca-field.cca-half {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .cca-field.cca-half:last-child {
        margin-bottom: 0;
    }
}
