/**
 * Motteku Cookie Consent Banner Styles
 */

.motteku-cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.motteku-cookie-consent-banner.is-mounted {
    display: block;
}

.motteku-cookie-consent-banner.visible {
    transform: translateY(0);
}

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

.motteku-cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.motteku-cookie-consent-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

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

.motteku-cookie-consent-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
}

.motteku-cookie-consent-text a {
    color: #2d8a6e;
    text-decoration: underline;
    font-weight: 500;
}

.motteku-cookie-consent-text a:hover {
    color: #1d6b54;
}

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

.motteku-cookie-consent-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.motteku-cookie-consent-btn-decline {
    background: #f5f5f5;
    color: #666666;
    border: 1px solid #e0e0e0;
}

.motteku-cookie-consent-btn-decline:hover {
    background: #eeeeee;
    border-color: #d0d0d0;
}

.motteku-cookie-consent-btn-accept {
    background: #2d8a6e;
    color: #ffffff;
}

.motteku-cookie-consent-btn-accept:hover {
    background: #257a5f;
}

.motteku-cookie-consent-btn:focus {
    outline: 2px solid #2d8a6e;
    outline-offset: 2px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .motteku-cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .motteku-cookie-consent-content {
        align-items: flex-start;
    }

    .motteku-cookie-consent-icon {
        width: 20px;
        height: 20px;
    }

    .motteku-cookie-consent-text p {
        font-size: 13px;
    }

    .motteku-cookie-consent-actions {
        justify-content: stretch;
    }

    .motteku-cookie-consent-btn {
        flex: 1;
        padding: 12px 16px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .motteku-cookie-consent-inner {
        padding: 12px;
        gap: 12px;
    }

    .motteku-cookie-consent-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .motteku-cookie-consent-btn {
        width: 100%;
    }
}
