/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ==========================================================
   Stilizare formular Contact Form 7 - stil linie minimalist
   cu iconite, adaptat pentru WoodMart
   Adauga acest cod in: WoodMart -> Theme Panel -> Custom CSS
   ========================================================== */

.form-style-1 {
    max-width: 700px;
    margin: 0 auto;
}

.form-style-1 .columns_wrap {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.form-style-1 .columns_wrap.margin-bottom {
    margin-bottom: 25px;
}

.form-style-1 .column-1_2 {
    flex: 1;
    min-width: 0;
}

.form-style-1 .column-1_1 {
    width: 100%;
}

/* linia sub fiecare camp */
.form-style-1 .style-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

/* input-urile si textarea in sine - fara stilul implicit de browser */
.form-style-1 input[type="text"],
.form-style-1 input[type="email"],
.form-style-1 input[type="tel"],
.form-style-1 textarea {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 15px;
    color: #333;
    padding: 4px 0;
    box-shadow: none !important;
}

.form-style-1 textarea {
    resize: none;
    min-height: 24px;
    line-height: 1.4;
}

.form-style-1 input::placeholder,
.form-style-1 textarea::placeholder {
    color: #999;
}

/* ==================== ICONITE (SVG inline, stil outline) ==================== */

.form-style-1 .style-line::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.55;
}

.form-style-1 .icon-name::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
}

.form-style-1 .icon-email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}

.form-style-1 .icon-phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

.form-style-1 .icon-subject::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='8' x2='12' y2='8.01'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3C/svg%3E");
}

.form-style-1 .icon-textarea::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E");
    align-self: flex-start;
    margin-top: 2px;
}

/* ==================== BUTON TRIMITE ==================== */

.form-style-1 input[type="submit"] {
    background-color: #b08968;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.form-style-1 input[type="submit"]:hover {
    background-color: #9a7458;
}

/* sageata langa textul de submit (optional, doar decorativ) */
.form-style-1 input[type="submit"]::before {
    content: '➤';
    margin-right: 8px;
    font-size: 13px;
}

/* ==================== ACCEPTANCE (checkbox termeni) ==================== */

.form-style-1 .wpcf7-acceptance {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.form-style-1 .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.form-style-1 .wpcf7-acceptance a {
    color: #b08968;
    text-decoration: underline;
}

.form-style-1 .wpcf7-acceptance a:hover {
    color: #9a7458;
}

/* ==================== MESAJE DE VALIDARE / EROARE ==================== */

.form-style-1 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #d63638;
    margin-top: 4px;
    display: block;
}

.form-style-1 .wpcf7-not-valid {
    border-bottom-color: #d63638 !important;
}

/* ==================== RESPONSIVE - stack pe mobil ==================== */

@media (max-width: 767px) {
    .form-style-1 .columns_wrap {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
}