body {
    font-family: 'IBM Plex Serif', serif;
    font-size: 16px;
    line-height: 22px;
    color: #222;
   
    font-weight: 300;
    background-image: url(bg.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
}

.container.philips-contest {
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
}
@media (min-width: 980px) {
    .controller_chefi {
        width: 970px;
        padding: 50px 110px;
    }
}
.philips-contest .logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.philips-contest .logos img {
    max-height: 140px;
    width: unset;
}

.philips-contest h1 {
    font-size: 4.5rem;
    margin-top: 40px;
    text-align: left;
    color: #fff;
    line-height: 1.2em;
    margin-bottom: 1rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    .philips-contest h1 {
        font-size: 3rem;
    }

    .philips-contest .logos img {
        max-height: 100px;
    }
}

.philips-contest .intro-text {
    font-size: 1.5rem;
    margin: 20px 0;
    line-height: 1.6;
    text-align: left;
    color: #eaf4ff;
}

.philips-contest .product-image {
    display: block;
    width: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.philips-contest form {
    background: white;
    color: #333;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.philips-contest input,
.philips-contest textarea {
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.philips-contest input::placeholder,
.philips-contest textarea::placeholder {
    color: #828282;
    font-size: 1em;
}

.philips-contest input[type="checkbox"] {
    display: block;
    padding: 7px;
    border-radius: 5px;
}

.philips-contest .input-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.philips-contest .input-group input {
    flex: 1;
    min-width: 200px;
}

.philips-contest textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.philips-contest .checkbox {
    display: flex;
    align-items: center;
}

.philips-contest .checkbox input {
    margin-right: 10px;
}

.parteneri>li {
    color: #000 !important;
}

.philips-contest button {
    background: #4C1CFF !important;
    color: white;
    font-size: 1.1rem;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

.philips-contest button:hover {
    background: #370ecf;
}

form {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

form label {
    display: flex;
        font-weight: normal;
        margin-top: 0px;
        color: #333;
        font-size: 15px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: #e60000;
    outline: none;
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox {
    margin-top: 0px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

.checkbox input[type="checkbox"] {
    margin-right: 5px;
    margin-top: 0px;
}

button[type="submit"] {
    margin-top: 25px;
    background-color: #e60000;
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #cc0000;
}

input[type="checkbox"] {
    display: block !important;
}

input {
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    margin-bottom: 20px;
}

footer {
    background: #fff;
        max-width: 1030px;
        margin: 0 auto;
}



/*================NEW CSS================*/
@media (min-width: 980px) {
    .controller_chefi {
        width: 970px;
        padding: 50px 110px;
    }
}
.controller_chefi {
    width: auto;
    padding: 30px;
    margin: 0 auto 80px;
    background: #ffffff;
    position: relative;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.controller_chefi h1 {
    font-size: 50px;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.4em;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    color: #da0f10;
    font-weight: 700;
    position: relative;
    z-index: 5;
    padding-bottom: 40px;
}
h2,
.ex-h2 {
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
    font-weight: 500;
    text-align: center;
    padding-bottom: 20px;
}
.form-body {
    border: 3px solid #D83326;
    max-width: max-content;
    margin: 0 auto;
}
.header-pic {
    margin-bottom: -5px;
}
.form-body .title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
    background-color: #d83326;
    padding: 6px;
    line-height: 1.2;
}
@media (max-width:560px) {
    .controller_chefi h1 {
        padding-bottom: 20px;
    }

    form label {
        display: block !important;
    }
}
.form-body form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 0 10px;
}
.form-body .form-row {
    width: 100%;
}
.field-box {
    padding-bottom: 10px;
}
@media (min-width: 560px) {
    .main-container .form-body .block-50 .wrapper {
        width: 49%;
        margin-right: 4px;
        float: left;
    }
}
.form-body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.form-body textarea,
.form-body select {
    border: 1px solid rgba(0, 0, 0, 0.45);
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
textarea,
select {
    font-family: "IBM Plex Serif", serif;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
    background-color: #FFF;
    font-weight: 300;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.25);
    outline: none;
    width: 100%;
    margin: 0 0 10px;
    padding: 16px 17px 14px;
}
.eroarez {
    color: red;
    display: none;
} 
.form-body ::placeholder {
    color: #222222;
}
.form-body button,
.form-body input[type="submit"] {
    background-color: #DA0F10;
    border: 1px solid #DA0F10;
    color: #ffffff;
    font-weight: 400;
    margin: 16px auto 0;
    display: block;
    width: auto;
}
button,
input[type="submit"] {
    display: inline-block;
    background-color: #DA0F10;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    color: #FFF;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    border-radius: 0;
    padding: 16px 35px;
    margin-top: 15px;
    cursor: pointer;
}
.check-wrap {
    display: flex;
}
input[type="checkbox"] {
    display: block !important;
    margin-right: 10px;
}
@media only screen and (min-width: 1024px) {
    .main-container {
        width: 1030px;
        background-color: #FFF;
        margin: 0 auto;
        position: relative;
        z-index: 1;
        padding: 0;
    }
}