/* Скрываем стандартные сообщения CF7 */
.wpcf7-response-output {
    display: none !important;
}

.screen-reader-response {
    display: none !important;
}

/* wpcf7-not-valid-tip теперь показываются */

/* CF7 Bootstrap Alerts Container */
#cf7-alerts-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    max-width: 650px;
    width: auto;
    padding: 0 15px;
}

.cf7-bootstrap-alert {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    padding: 1.75rem 1.5rem 1.75rem !important;
    border-radius: 1.5rem !important;
    border: 0 !important;
}

@media (min-width: 768px) {
    .cf7-bootstrap-alert {
        padding: 2.75rem 2.5rem 2.75rem !important;
    }
}

.cf7-bootstrap-alert.show-alert {
    opacity: 1;
    transform: translateY(0);
}

.cf7-bootstrap-alert.hide-alert {
    opacity: 0;
    transform: translateY(-20px);
}

@media (max-width: 576px) {
    #cf7-alerts-container {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: calc(100% - 30px);
        width: calc(100% - 30px);
        padding: 0;
    }
    
    .cf7-bootstrap-alert {
        min-width: auto;
    }
}

/* Bootstrap Alert Styles */
/*
.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1rem;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.cf7-bootstrap-alert .btn-micon-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 1;
}

.cf7-bootstrap-alert .btn-micon-close:hover {
    opacity: 0.8;
}

.fade {
    transition: opacity 0.15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

.show {
    display: block;
}
*/
