/* index.css */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.success {
    color: green;
    font-weight: bold;
    margin-bottom: 10px;
}

.errors {
    color: red;
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.errors li {
    margin-bottom: 5px;
}

.widget-container, .container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.container {
    background-color: #ffffff;
}

section.banner {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner h1 {
    color: black;
    text-align: center;
    margin-bottom: 0;
    font-size: 34px;
    font-family: Arial, sans-serif;
}

.order-forms {
    background-color: #007bff;
    padding: 20px;
    display: flex;
    justify-content: center;
    width: 90%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.order-form {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 960px;
    flex-wrap: nowrap;
}

.order-form input,
.order-form select,
.order-form button {
    height: 44px !important;
    padding: 0 10px !important;
    line-height: 42px !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    width: 180px !important;
    box-sizing: border-box !important;
    font-family: Arial, sans-serif !important;
}

.order-form input {
    background-color: #fff !important;
}

.order-form input::placeholder {
    color: #999;
}

.order-form select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="5" viewBox="0 0 10 5"><path fill="%23999" d="M0 0h10L5 5z"/></svg>') no-repeat right 10px center !important;
    background-color: white !important;
    cursor: pointer !important;
}

.order-form button {
    background-color: #ffc107 !important;
    color: black !important;
    border: none !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    transition: background-color 0.3s, box-shadow 0.3s !important;
}

.order-form button:hover {
    background-color: #e0a800 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.uvaga, .cleaning {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.uvaga h2 {
    font-family: Arial, sans-serif;
    font-size: 40px;
    color: red;
    text-align: center;
	margin-top: 0;
    margin-bottom: 0;
}

.cleaning h2 {
    font-family: Arial, sans-serif;
    font-size: 24px;
    color: blue;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.info {
    background-color: #fff;
    padding: 10px;
    margin: 10px;
    font-family: Arial, sans-serif;
    font-size: 18px;
}

.info h2 {
    color: red;
    text-align: center;
}

.info h3 {
    color: #007bff;
    text-align: center;
}

.info p {
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 20px;
}

.info li {
    line-height: 1.6;
    margin-top: 0;
}

.info ul {
    margin-top: 0;	
}

.info ol {
	margin-left: 60px;
}

.info table.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.info table.price-table th,
.info table.price-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.refueling {
    text-align: center;
}

.services-pricing {
    margin-top: 20px;
    text-align: center;
}

.services-pricing p {
  font-weight: bold;    /* напівжирний */
  font-style: italic;   /* курсив */
}


.pricing-list {
    list-style: none;
    padding: 0;
}

.pricing-list li {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1px;
}

ul.pricing-list {
  display: inline-block;  /* сховаємося у ширину вмісту */
  margin: 0 auto;         /* центруємо по горизонталі */
  padding: 0;
  list-style: none;
  text-align: left;       /* щоб текст у li був вирівняний ліворуч */
}

ul.pricing-list li {
  display: block;         /* точно як блок */
  width: 100%;            /* заповнимо всю ширину ul */
  box-sizing: border-box;
}




/* Додаємо margin-top для всіх зображень у widget-container */
.widget-container img {
    margin-top: 30px;
}

/* Адаптивні стилі для смартфонів */
@media (max-width: 768px) {
    /* Widget Container */
    .widget-container {
        padding: 0 10px;
        max-width: 100%;
        overflow: hidden;
    }

    .widget-container img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        margin-top: 20px;
    }



    /* Контейнер */
    .container {
        padding: 0 10px;
    }

    /* Форма замовлення */
    .order-forms {
        width: 100%;
        padding: 15px;
        background-color: #47aee9 !important;
    }

    .order-form {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
    }

    .order-form input,
    .order-form select,
    .order-form button {
        width: 100% !important;
        height: 42px !important;
        font-size: 14px !important;
        padding: 0 10px !important;
        line-height: 40px !important;
        border: 1px solid #ccc !important;
        border-radius: 5px !important;
        box-sizing: border-box !important;
    }

    .order-form button {
        margin-top: 10px !important;
        background-color: #ffc107 !important;
        color: black !important;
        border: none !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
    }

    /* Секція інформації */
    .uvaga h1 {
        font-size: 28px;
    }

    .cleaning h1 {
        font-size: 20px;
    }

    .info {
        margin: 5px;
        padding: 10px;
        font-size: 20px;
    }

    .info h2 {
        font-size: 24px;
    }

    .info h3 {
        font-size: 20px;
    }

    .info p, .info li {
        margin-left: 20px;
        line-height: 1.5;
    }

    .info table.price-table th,
    .info table.price-table td {
        padding: 8px;
        font-size: 14px;
    }
}

/* Додаткові налаштування для дуже малих екранів (до 480px) */
@media (max-width: 480px) {
    /* Widget Container */
    .widget-container {
        padding: 0 5px;
    }

    .widget-container img {
        width: 100%;
        height: auto;
        margin-top: 15px;
    }

    /* Секція послуг */
    .services-content h1 {
        font-size: 1.3em;
    }

    .services-content h2 {
        font-size: 1.2em;
    }

    .services-content p {
        font-size: 0.9em;
    }

    .services-list li {
        font-size: 1.1em;
        margin: 8px 0;
    }

    .pricing-list li {
        font-size: 0.9em;
    }

    .banner h1 {
        font-size: 20px;
    }

    .uvaga h1 {
        font-size: 24px;
    }

    .cleaning h1 {
        font-size: 18px;
    }

    .info {
        font-size: 14px;
    }

    .info h2 {
        font-size: 20px;
    }

    .info h3 {
        font-size: 18px;
    }

    .order-form input,
    .order-form select,
    .order-form button {
        height: 38px !important;
        font-size: 12px !important;
        padding: 0 8px !important;
        line-height: 36px !important;
    }
}