/* Стили для формы заявки */
/* текст в форме */
.text-in-form {
    text-align: left;
    margin-bottom: 30px;
}
h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: white;
}
.text-form{
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: white;
}
.request-form {
    background: rgba(55, 139, 197, 1);
    padding: 30px;
    border-radius: 25px;
    box-shadow: -3px 5px 12.1px rgba(0, 0, 0, 0.25);
}

.form-control, .form-select {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 10px;
    margin-top: 5px;
}
/* для placeholder */
.form-control::placeholder {
    opacity: 0.7;
}

.submit-button {
    background: rgba(255, 204, 130, 1) !important;
    border: none;
    color: rgba(38, 35, 35, 1) !important   ;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem !important;
    padding: 10px 30px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 40px;
}
.product-link {
    text-decoration: none;
    color: white;
}
.submit-button:hover {
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
    .text-in-form {
        text-align: center;
    }
    .text-form {
        font-size: 1rem;
    }
    .row.mb-3 {
        margin-bottom: 0.1rem !important; /* Уменьшаем отступ до 0.5rem */
    }
    input,
    textarea {
        width: 100%;
        margin-top: 0px !important;
        margin-bottom: 30px !important;
    }
    .submit-button {
        font-size: 1.2rem !important;
        margin-top: 0px;
    }
    .request-form {
        padding: 20px;
    }
    .form-control, .form-select {
        font-size: 1rem
    }
}


@media (min-width: 768px) and (max-width: 990px) {
    .form-control::placeholder {
        font-size: 0.7rem !important;
        text-align: start;
    }
}

/* Стили для сообщений в правом нижнем углу */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 350px;
    display: none;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: white;
}

.notification-success {
    background-color: #28a745;
}

.notification-error {
    background-color: #dc3545;
}

.notification.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
