/* Стили для неактивных кнопок с согласием на обработку данных */
button:disabled,
input[type="submit"]:disabled,
.g-btn:disabled,
.button:disabled,
.contacts__button:disabled,
button[disabled],
input[type="submit"][disabled] {
    background-color: #b0b0b0 !important;
    background: #b0b0b0 !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.65 !important;
    border-color: #b0b0b0 !important;
    pointer-events: none !important;
}

button:disabled:hover,
input[type="submit"]:disabled:hover,
.g-btn:disabled:hover,
.button:disabled:hover,
.contacts__button:disabled:hover,
button[disabled]:hover,
input[type="submit"][disabled]:hover {
    background-color: #b0b0b0 !important;
    background: #b0b0b0 !important;
    color: #666666 !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.65 !important;
}

button:disabled:active,
input[type="submit"]:disabled:active,
.g-btn:disabled:active,
.button:disabled:active,
.contacts__button:disabled:active,
button[disabled]:active,
input[type="submit"][disabled]:active {
    transform: none !important;
    box-shadow: none !important;
}

/* Стили для чекбоксов согласия */
.privacy-consent-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.privacy-consent-label.inline-flex {
    display: inline-flex;
}

.privacy-consent-checkbox {
    margin-right: 8px;
    margin-top: 3px;
    flex-shrink: 0;
}

.privacy-consent-link {
    color: #0066cc;
    text-decoration: underline;
}

.privacy-consent-link:hover {
    color: #0052a3;
    text-decoration: none;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 0;
    animation: slideUpBanner 0.4s ease-out;
    border-top: 1px solid #e8e8e8;
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent-text-wrapper {
    flex: 1;
    min-width: 0;
}

.cookie-consent-text {
    font-size: 14px;
    line-height: 1.5;
    color: #4a4a4a;
    margin: 0;
}

.cookie-consent-link {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.cookie-consent-link:hover {
    color: #0052a3;
    text-decoration: none;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
    white-space: nowrap;
}

.cookie-consent-btn--accept {
    background: #1a1a1a;
    color: #ffffff;
}

.cookie-consent-btn--accept:hover {
    background: #333333;
}

.cookie-consent-btn--accept:active {
    background: #000000;
}

.cookie-consent-btn--reject {
    background: transparent;
    color: #666666;
    border: 1px solid #d0d0d0;
}

.cookie-consent-btn--reject:hover {
    background: #f5f5f5;
    border-color: #b0b0b0;
}

.cookie-consent-btn--reject:active {
    background: #ebebeb;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-banner.hide {
    animation: slideDownBanner 0.3s ease-in forwards;
}

@keyframes slideDownBanner {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
        gap: 16px;
    }
    
    .cookie-consent-text {
        font-size: 13px;
        text-align: left;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .cookie-consent-btn--accept {
        order: 1;
    }
    
    .cookie-consent-btn--reject {
        order: 2;
    }
}

@media (max-width: 480px) {
    .cookie-consent-container {
        padding: 14px 16px;
    }
    
    .cookie-consent-text {
        font-size: 12px;
    }
    
    .cookie-consent-btn {
        font-size: 13px;
        padding: 11px 18px;
    }
}

