/* cookie-consent.css - PDPA Cookie Banner Styles */

.cookie-consent-banner {
    position: fixed;
    bottom: -100%; /* Start hidden off-screen */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px 0;
    transition: bottom 0.5s ease-in-out;
    border-top: 3px solid #ff8c42;
    font-family: 'Sukhumvit Set', Kanit, sans-serif;
}

.cookie-consent-banner.show {
    bottom: 0;
}

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

@media (min-width: 768px) {
    .cookie-consent-container {
        flex-direction: row;
        padding: 0 40px;
    }
}

.cookie-consent-text {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-text h4 {
    margin: 0 0 8px 0;
    color: #ff8c42;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.cookie-consent-text a:hover {
    color: #e67e22;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    width: 100%;
    justify-content: center;
}

@media (min-width: 768px) {
    .cookie-consent-buttons {
        width: auto;
    }
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    flex: 1;
    max-width: 150px;
    text-align: center;
}

.cookie-btn-accept {
    background-color: #ff8c42;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #e67e22;
}

.cookie-btn-decline {
    background-color: #f1f1f1;
    color: #666;
}

.cookie-btn-decline:hover {
    background-color: #e4e4e4;
    color: #333;
}
