/**
 * EAZYPCB Cookie 同意彈窗樣式
 */
.eazypcb-cookie-consent {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.eazypcb-cookie-consent.eazypcb-cookie-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.eazypcb-cookie-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
    padding: 24px 24px 20px;
    position: relative;
    border: 1px solid rgba(26, 95, 122, 0.12);
}

.eazypcb-cookie-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.eazypcb-cookie-close:hover {
    background: #e2e8f0;
    color: #334155;
}

.eazypcb-cookie-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1A5F7A, #2d7a94);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 16px;
}

.eazypcb-cookie-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.eazypcb-cookie-text {
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 20px;
}

.eazypcb-cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eazypcb-cookie-btn {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
}

.eazypcb-cookie-btn-primary {
    background: linear-gradient(135deg, #1A5F7A, #2d7a94);
    color: #fff;
}

.eazypcb-cookie-btn-primary:hover {
    background: linear-gradient(135deg, #155066, #256a7a);
    transform: translateY(-1px);
}

.eazypcb-cookie-btn-outline {
    background: transparent;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
}

.eazypcb-cookie-btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

@media (max-width: 480px) {
    .eazypcb-cookie-consent {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
}
