/* Return / complaint forms (assets/product_return.php), opened in an iframe popup from warranty.php.
   Same look as the customer forms in gfx/pol/create_account.css */

body {
    margin: 0;
    font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #222;
    background: #fff;
}

#price_signal_div {
    max-width: 520px;
    margin: 0 auto;
    padding: 12px 16px 24px !important;
    box-sizing: border-box;
}

#price_signal_div br {
    display: none;
}

/* section headings */
#price_signal_div h2 {
    margin: 22px 0 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

#price_signal_div > h2:first-child {
    margin-top: 4px;
}

/* the "valid only 15 days" warning (a heading followed by another heading) */
#price_signal_div > h2:has(+ h2) {
    margin: 4px 0 6px;
    padding: 10px 12px;
    font-size: 15px;
    color: #b3261e;
    background: #fdf1f0;
    border-radius: 8px;
}

/* fields */
#price_signal_div input.span4,
#price_signal_div textarea.span4,
#price_signal_div select {
    display: block;
    float: none;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    margin: 0 0 10px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 16px; /* 16px keeps iOS from zooming in on focus */
    line-height: normal;
    color: #222;
    background-color: #fff;
    border: 1px solid #cfc4ca;
    border-radius: 8px;
    box-shadow: none;
    -webkit-appearance: none; /* iOS Safari: no native inner shadow or rounding */
    appearance: none;
}

#price_signal_div textarea.span4 {
    height: auto;
    min-height: 90px;
    padding: 12px;
    line-height: 1.4;
    resize: vertical;
}

#price_signal_div select {
    padding-right: 36px;
    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 d='M1 1l5 5 5-5' fill='none' stroke='%236d5f67' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

#price_signal_div input.span4::placeholder,
#price_signal_div textarea.span4::placeholder {
    color: #8a8087;
    opacity: 1;
}

#price_signal_div input.span4:focus,
#price_signal_div textarea.span4:focus,
#price_signal_div select:focus {
    border-color: #a63d6f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(166, 61, 111, .18);
}

/* return options: the radio and its label stay siblings (the page script reads ":checked + label") */
#price_signal_div input[type=radio] {
    position: static;
    top: auto;
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
    vertical-align: middle;
    accent-color: #017e68;
}

#price_signal_div input[type=radio] + label {
    display: inline-block;
    width: calc(100% - 44px); /* room for the radio (30px) and the space after it */
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.35;
    vertical-align: middle;
    cursor: pointer;
}

/* Изпрати */
#price_signal_div a.send-now-grey {
    display: block;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    margin: 18px 0 0;
    padding: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    color: #fff;
    background: #017e68;
    border: 0;
    border-radius: 8px;
}

#price_signal_div a.send-now-grey:hover {
    background: #016b58;
}
