/**
 * Cookie Consent Banner Styles
 * BEM Notation
 */

/* Block: giperplan-cookie-consent */
.giperplan-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

/* Container for content alignment */
.giperplan-cookie-consent__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
}

/* Content wrapper for flex layout */
.giperplan-cookie-consent__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Element: actions wrapper */
.giperplan-cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Element: message text */
.giperplan-cookie-consent__message {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    flex: 1 1 auto;
    min-width: 250px;
}

/* Element: accept button */
.giperplan-cookie-consent__button {
    flex: 0 0 auto;
    padding: 12px 30px;
    background-color: #7F3DEA;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    white-space: nowrap;
}

/* Button hover state */
.giperplan-cookie-consent__button:hover {
    background-color: #6B2DD1;
}

/* Button active state */
.giperplan-cookie-consent__button:active {
    transform: scale(0.98);
}

/* Button focus state for accessibility */
.giperplan-cookie-consent__button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Element modifier: decline button */
.giperplan-cookie-consent__button--decline {
    background-color: rgba(0, 0, 0, 0.95);
    border: 2px solid #7F3DEA;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease, border-color 0.3s ease;
}

.giperplan-cookie-consent__button--decline:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: #6B2DD1;
}

.giperplan-cookie-consent__button--decline:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Slide up animation */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .giperplan-cookie-consent__container {
        padding: 15px 20px;
    }
    
    .giperplan-cookie-consent__content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .giperplan-cookie-consent__actions {
        width: 100%;
        justify-content: center;
    }
    
    .giperplan-cookie-consent__message {
        text-align: center;
        font-size: 13px;
    }
    
    .giperplan-cookie-consent__button {
        width: 100%;
        padding: 14px 20px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .giperplan-cookie-consent__container {
        padding: 12px 15px;
    }
    
    .giperplan-cookie-consent__message {
        font-size: 12px;
    }
    
    .giperplan-cookie-consent__button {
        padding: 12px 20px;
        font-size: 13px;
    }
}

