/**
 * AHS Cookie Banner Styles
 */

.ahs-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    animation: ahsSlideUp 0.5s ease-out;
    display: none;
}

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

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

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

.ahs-cookie-content {
    flex: 1;
    min-width: 250px;
}

.ahs-cookie-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

.ahs-cookie-link {
    color: #3498db;
    text-decoration: underline;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.ahs-cookie-link:hover {
    color: #5dade2;
}

.ahs-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ahs-cookie-button {
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    color: #ffffff;
}

.ahs-cookie-button.ahs-cookie-accept {
    background-color: #27ae60;
}

.ahs-cookie-button.ahs-cookie-accept:hover {
    background-color: #229954;
    transform: translateY(-2px);
}

.ahs-cookie-button.ahs-cookie-decline {
    background-color: #95a5a6;
}

.ahs-cookie-button.ahs-cookie-decline:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
}

.ahs-cookie-button:active {
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
    .ahs-cookie-container {
        flex-direction: column;
        text-align: center;
    }
    
    .ahs-cookie-content {
        width: 100%;
    }
    
    .ahs-cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .ahs-cookie-button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .ahs-cookie-banner {
        padding: 15px 0;
    }
    
    .ahs-cookie-text {
        font-size: 13px;
    }
    
    .ahs-cookie-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}
