/* DocCure Cookie Consent Styles */

.cookie-consent-block {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #01255D 0%, #001a42 100%);
    background-color: #01255D;
    z-index: 9999;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #001a42;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-block .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-consent-block .row {
    margin: 0;
}

.cookie-consent-block .col-md-9,
.cookie-consent-block .col-md-3 {
    padding: 0 15px;
}

.cookie-consent-block p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
    font-weight: 400;
}

.cookie-consent-block a {
    color: #ffffff !important;
    text-decoration: underline !important;
    transition: all 0.3s ease;
}

.cookie-consent-block a:hover {
    color: #f7fafc !important;
    text-decoration: none !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.cookie-consent-block .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    min-width: 180px;
    text-align: center;
}

.cookie-consent-block .btn-light {
    background-color: #ffffff !important;
    color: #01255D !important;
    border-color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.cookie-consent-block .btn-light:hover {
    background-color: #f8f9fa !important;
    color: #001a42 !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 37, 93, 0.4) !important;
}

.cookie-consent-block .btn-light:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5) !important;
    outline: none;
    background-color: #ffffff !important;
    color: #01255D !important;
}

.cookie-consent-block .btn-light:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(1, 37, 93, 0.3) !important;
    background-color: #ffffff !important;
    color: #01255D !important;
}

/* Дополнительные стили для лучшей видимости */
.cookie-consent-block .btn-light:visited {
    background-color: #ffffff !important;
    color: #01255D !important;
    border-color: #ffffff !important;
}

.cookie-consent-block .btn-light:link {
    background-color: #ffffff !important;
    color: #01255D !important;
    border-color: #ffffff !important;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cookie-consent-block {
        padding: 20px 15px;
    }
    
    .cookie-consent-block .col-md-9,
    .cookie-consent-block .col-md-3 {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .cookie-consent-block .col-md-3 {
        margin-bottom: 0;
    }
    
    .cookie-consent-block p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .cookie-consent-block .btn {
        padding: 14px 25px;
        font-size: 14px;
        width: 100%;
        max-width: 250px;
        font-weight: 700;
        background-color: #ffffff !important;
        color: #01255D !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    }
}

@media (max-width: 480px) {
    .cookie-consent-block {
        padding: 15px 10px;
    }
    
    .cookie-consent-block p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .cookie-consent-block .btn {
        padding: 12px 20px;
        font-size: 13px;
        font-weight: 700;
        background-color: #ffffff !important;
        color: #01255D !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    }
}

/* Анимация скрытия блока */
.cookie-consent-block.hide {
    animation: slideDown 0.5s ease-in forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Дополнительные стили для лучшей интеграции с DocCure */
.cookie-consent-block .text-decoration-underline {
    text-decoration: underline !important;
}

.cookie-consent-block .text-white {
    color: #ffffff !important;
}

.cookie-consent-block .mb-0 {
    margin-bottom: 0 !important;
}

.cookie-consent-block .text-end {
    text-align: right;
}

@media (max-width: 768px) {
    .cookie-consent-block .text-end {
        text-align: center;
    }
}
