/* Quote button styles  */
/* polku: \wp-content\plugins\jb-service-finder\assets\css\quote-form.css */

/* Label-tyylit */
.jb-quote-label {
    display: inline-block;
    vertical-align: middle;

}

/* Status messages */
.jb-quote-status {
    margin-top: 1rem;
    padding: 0.5rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.jb-quote-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.jb-quote-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Container for proper layout */
.jb-svf-quote-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Required field note styling */
.required-note {
    margin-top: 8px;
    text-align: center;
}

.required-note-text {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

.jb-quote-form textarea,
.jb-svf-form textarea {
    resize: none !important;
}

/* Hyväksymischeckboxin tyylit - 30% isompi ja teeman sininen väri */
.jb-quote-form .row label.chk {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 10px 0;
}

.jb-quote-form .row label.chk input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    cursor: pointer;
    margin-right: 10px;
    accent-color: #26434D; /* Teeman sininen väri RGB(38,67,77) */
}

/* Custom checkbox tyylit paremmalle yhteensopivuudelle */
.jb-quote-form .row label.chk input[type="checkbox"] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #26434D;
    border-radius: 3px;
    background-color: white;
    transition: all 0.2s ease;
}

.jb-quote-form .row label.chk input[type="checkbox"]:checked {
    background-color: #26434D;
    border-color: #26434D;
}

.jb-quote-form .row label.chk input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.jb-quote-form .row label.chk span {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
}

/* Hover-efekti */
.jb-quote-form .row label.chk input[type="checkbox"]:hover {
    border-color: #1a2f3a;
}

.jb-quote-form .row label.chk input[type="checkbox"]:checked:hover {
    background-color: #1a2f3a;
    border-color: #1a2f3a;
}
