/**
 * Unideals Mauritius Legal Consent Popup Styles
 * Enhanced styling for comprehensive legal agreement
 * 
 * @package Unideals_Mauritius_Legal_Consent
 */

#unideals-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(1200px 600px at 20% 0%, rgba(28, 168, 203, 0.35) 0%, rgba(0, 0, 0, 0) 60%),
        radial-gradient(900px 500px at 90% 10%, rgba(124, 77, 255, 0.22) 0%, rgba(0, 0, 0, 0) 55%),
        rgba(0, 0, 0, 0.86);
    z-index: 999999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    box-sizing: border-box;
    backdrop-filter: blur(6px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#unideals-popup {
    --unideals-primary: #1CA8CB;
    --unideals-primary-dark: #1593b3;
    --unideals-accent: #7c4dff;
    --unideals-ink: #0b1220;
    --unideals-line: rgba(15, 23, 42, 0.10);

    width: 90%;
    max-width: 1000px;
    max-height: calc(100vh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    margin: 0 auto;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background:
        radial-gradient(900px 500px at 10% 0%, rgba(28, 168, 203, 0.10) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(700px 400px at 95% 0%, rgba(124, 77, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 70%, #f6f8ff 100%);
    padding: 40px 40px 140px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.45),
        0 10px 24px rgba(0, 0, 0, 0.18);
    position: relative;
    transform: translateZ(0);
}

/* Soft 3D highlights */
#unideals-popup::before,
#unideals-popup::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 12px;
}

#unideals-popup::before {
    inset: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

#unideals-popup::after {
    inset: -2px;
    background: radial-gradient(600px 260px at 30% 0%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0.7;
    filter: blur(0.2px);
}

/* Collapsed/expanded legal text (View button) */
#unideals-popup.unideals-legal-collapsed .unideals-legal-sections {
    display: none;
}

/* Scrollbar styling */
#unideals-popup::-webkit-scrollbar {
    width: 10px;
}

#unideals-popup::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

#unideals-popup::-webkit-scrollbar-thumb {
    background: #1CA8CB;
    border-radius: 5px;
}

#unideals-popup::-webkit-scrollbar-thumb:hover {
    background: #1593b3;
}

/* Creative 3D hero header */
.unideals-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    margin: -40px -40px 18px -40px;
    border-radius: 12px 12px 18px 18px;
    background: #ffffff;
    border: 1px solid var(--unideals-line);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    flex-direction: row;
    text-align: left;
}

.unideals-hero::before {
    display: none;
}

.unideals-hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    flex-direction: row;
}

.unideals-logo-wrap {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    backdrop-filter: none;
}

.unideals-logo {
    width: 63px; /* +50% */
    height: 63px; /* +50% */
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.32));
}

.unideals-logo-fallback {
    width: 63px; /* +50% */
    height: 63px; /* +50% */
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, var(--unideals-primary) 0%, var(--unideals-accent) 100%);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

.unideals-hero-text {
    min-width: 0;
    text-align: center;
}

.unideals-title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: var(--unideals-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unideals-title .unideals-subtitle {
    margin: 0;
    font-size: 0.55em;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--unideals-primary);
    opacity: 0.92;
}

.unideals-hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.unideals-chip {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(28, 168, 203, 0.12);
    border: 1px solid rgba(28, 168, 203, 0.35);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    min-width: 180px;
}

.unideals-chip-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--unideals-primary);
    opacity: 0.85;
}

.unideals-chip-value {
    display: block;
    margin-top: 3px;
    font-size: 14px;
    font-weight: 800;
    color: var(--unideals-primary);
}

.unideals-intro {
    display: flex;
    align-items: stretch;
    gap: 20px;
    background:
        radial-gradient(500px 200px at 15% 0%, rgba(28, 168, 203, 0.10) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--unideals-line);
    border-left: 5px solid var(--unideals-primary);
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.8;
    box-shadow:
        0 10px 18px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.unideals-intro .unideals-intro-text {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.unideals-intro .unideals-intro-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    min-height: 0;
}

.unideals-intro .unideals-intro-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.unideals-intro .unideals-intro-logo .unideals-logo-fallback {
    max-width: 100%;
    max-height: 100%;
    width: 4em;
    height: 4em;
}

.unideals-intro strong {
    color: var(--unideals-primary);
    font-weight: 600;
}

.unideals-intro-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.unideals-intro-secondary .unideals-intro-headline {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--unideals-primary);
}

.unideals-intro-secondary .unideals-intro-lines {
    width: 100%;
    color: #444;
    font-weight: 700;
}

/* Trust Badges - UNDER the text, compact, centered, full width, theme colors */
.unideals-trust-badges-wrap {
    width: 100%;
    margin-top: 14px;
    order: 3;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.unideals-trust-badges {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 100%;
}

.unideals-trust-badge {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    background: linear-gradient(135deg, rgba(28, 168, 203, 0.08) 0%, rgba(124, 77, 255, 0.06) 100%);
    border-radius: 8px;
    border-top: 2px solid var(--unideals-primary);
    box-shadow: 0 2px 8px rgba(28, 168, 203, 0.12);
    transition: all 0.3s ease;
}

.unideals-trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 168, 203, 0.2);
    background: linear-gradient(135deg, rgba(28, 168, 203, 0.12) 0%, rgba(124, 77, 255, 0.1) 100%);
}

.unideals-badge-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--unideals-primary-dark);
    border: none;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(21, 147, 179, 0.4);
    transition: all 0.3s ease;
}

.unideals-trust-badge:hover .unideals-badge-icon {
    background: var(--unideals-primary-dark);
    box-shadow: 0 4px 12px rgba(21, 147, 179, 0.5);
    transform: scale(1.05);
}

.unideals-badge-icon svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

.unideals-badge-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--unideals-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
    text-align: center;
}


/* Legal Sections */
.unideals-legal-sections {
    margin-bottom: 30px;
}

.unideals-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.unideals-section:last-of-type {
    border-bottom: none;
}

#unideals-popup h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--unideals-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    padding-top: 5px;
}

#unideals-popup h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

#unideals-popup p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    font-size: 15px;
    text-align: justify;
}

#unideals-popup p:last-child {
    margin-bottom: 0;
}

#unideals-popup strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Lists */
#unideals-popup ul,
#unideals-popup ol {
    margin: 15px 0;
    padding-left: 30px;
    line-height: 1.8;
    color: #444;
}

#unideals-popup ul li,
#unideals-popup ol li {
    margin-bottom: 10px;
    font-size: 15px;
}

#unideals-popup ul li strong {
    color: var(--unideals-primary);
    font-weight: 600;
}

/* Nested lists */
#unideals-popup ul ul,
#unideals-popup ol ol {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Checkbox Section */
#unideals-checkbox {
    margin-top: 30px;
    padding: 20px;
    background:
        radial-gradient(600px 220px at 10% 0%, rgba(28, 168, 203, 0.10) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
    border-radius: 8px;
    border: 2px solid var(--unideals-primary);
    position: sticky;
    bottom: 0;
    background-color: #fff;
    box-shadow:
        0 -10px 26px rgba(0, 0, 0, 0.16),
        0 10px 18px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Popup checkbox styling (force tick/check to show even if theme overrides inputs) */
#unideals-popup input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--unideals-primary);
    border-radius: 4px;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

#unideals-popup input[type="checkbox"]:checked {
    background-color: var(--unideals-primary);
    border-color: var(--unideals-primary);
    /* white checkmark */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
}

#unideals-popup input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(28, 168, 203, 0.35);
    outline-offset: 2px;
}

#unideals-popup input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

#unideals-popup input[type="checkbox"]:checked:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
}

#unideals-checkbox input[type="checkbox"] {
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    vertical-align: middle;
}

#unideals-checkbox label {
    cursor: pointer;
    font-weight: 500;
    color: #1a1a1a;
    user-select: none;
    display: block;
    line-height: 1.6;
    font-size: 15px;
}

/* Tick row: checkbox + blue text on one line, all screens */
#unideals-checkbox .unideals-consent-tick-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 8px;
}

#unideals-checkbox .unideals-consent-blue-text,
#unideals-checkbox label strong.unideals-consent-blue-text {
    color: var(--unideals-primary);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

#unideals-checkbox .unideals-consent-list {
    display: block;
    margin-left: 32px;
}

/* Buttons */
#unideals-buttons {
    margin-top: 25px;
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.unideals-btn {
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
        0 14px 26px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.unideals-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.unideals-btn:active {
    transform: translateY(0);
}

#unideals-accept {
    background: linear-gradient(135deg, #34d399 0%, #22c55e 45%, #16a34a 100%);
    color: #fff;
    border: none;
}

#unideals-accept:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

#unideals-accept:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

#unideals-decline {
    background: linear-gradient(135deg, #fb7185 0%, #ef4444 45%, #b91c1c 100%);
    color: #fff;
    border: none;
}

#unideals-decline:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

/* Footer Note */
.unideals-footer-block {
    margin-top: 20px;
    padding-top: 15px;
    padding-bottom: 24px;
    border-top: 1px solid #e0e0e0;
    text-align: left;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.unideals-legal-agreement-label {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.3px;
    font-style: normal;
}

.unideals-footer-note {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 12px;
    color: #666;
    font-style: italic;
    line-height: 1.6;
}

.unideals-footer-note small {
    color: #666;
}

/* Responsive Design - same layout as desktop on all screen sizes */
@media (max-width: 768px) {
    #unideals-overlay {
        padding: 12px;
    }
    
    #unideals-popup {
        width: 95%;
        padding: 25px 25px 140px 25px;
        max-height: calc(100vh - 24px);
    }

    .unideals-hero {
        margin: -25px -25px 14px -25px;
        padding: 16px;
    }

    .unideals-title {
        font-size: 24px;
    }
    
    #unideals-popup h2 {
        font-size: 20px;
    }
    
    #unideals-popup h3 {
        font-size: 16px;
    }
    
    #unideals-popup p,
    #unideals-popup ul li,
    #unideals-popup ol li {
        font-size: 14px;
    }
    
    .unideals-intro {
        font-size: 13px;
        padding: 12px 15px;
    }
    
    #unideals-checkbox {
        padding: 15px;
    }
    
    #unideals-checkbox label {
        font-size: 14px;
    }
    
    .unideals-trust-badges-wrap {
        margin-top: 12px;
    }
    .unideals-trust-badge {
        padding: 6px 4px;
        gap: 4px;
    }
    .unideals-badge-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }
    .unideals-badge-icon svg {
        width: 14px;
        height: 14px;
    }
    .unideals-badge-text {
        font-size: 9px;
    }
    
    .unideals-consent-link-btn,
    .unideals-cookie-settings-btn,
    #unideals-cookie-panel #unideals-accept-all-cookies,
    #unideals-cookie-panel #unideals-save-cookie-preferences {
        border: none !important;
    }
}

@media (max-width: 480px) {
    #unideals-overlay {
        padding: 10px;
    }

    #unideals-popup {
        padding: 20px 20px 140px 20px;
        border-radius: 8px;
        max-height: calc(100vh - 20px);
    }

    .unideals-hero {
        margin: -20px -20px 12px -20px;
        border-radius: 8px 8px 16px 16px;
    }

    .unideals-title {
        font-size: 20px;
    }
    
    #unideals-popup h2 {
        font-size: 18px;
    }
    
    #unideals-popup h3 {
        font-size: 15px;
    }
    
    #unideals-popup p,
    #unideals-popup ul li,
    #unideals-popup ol li {
        font-size: 13px;
    }
    
    .unideals-intro {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    #unideals-checkbox {
        padding: 12px;
    }
    
    #unideals-checkbox label {
        font-size: 13px;
    }
    
    .unideals-trust-badges-wrap {
        margin-top: 10px;
    }
    .unideals-trust-badges {
        gap: 6px;
    }
    .unideals-trust-badge {
        padding: 6px 3px;
        gap: 4px;
    }
    .unideals-badge-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
    }
    .unideals-badge-icon svg {
        width: 12px;
        height: 12px;
    }
    .unideals-badge-text {
        font-size: 8px;
    }
    
    .unideals-btn {
        font-size: 14px;
        padding: 12px 20px;
        min-width: auto;
    }
    
    .unideals-consent-link-btn,
    .unideals-cookie-settings-btn,
    #unideals-cookie-panel #unideals-accept-all-cookies,
    #unideals-cookie-panel #unideals-save-cookie-preferences {
        border: none !important;
    }
}

/* Cookie Preferences Panel */
#unideals-cookie-panel {
    animation: slideDown 0.3s ease-out;
}

#unideals-cookie-panel #unideals-accept-all-cookies,
#unideals-cookie-panel #unideals-save-cookie-preferences {
    border: none !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.unideals-cookie-categories {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.unideals-cookie-categories::-webkit-scrollbar {
    width: 6px;
}

.unideals-cookie-categories::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.unideals-cookie-categories::-webkit-scrollbar-thumb {
    background: #1CA8CB;
    border-radius: 3px;
}

.unideals-cookie-category {
    transition: all 0.3s ease;
}

.unideals-cookie-category:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(2px);
}

.unideals-cookie-category input[type="checkbox"] {
    cursor: pointer;
}

.unideals-cookie-category input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.unideals-consent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.unideals-consent-link-btn,
.unideals-cookie-settings-btn {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 255, 0.9) 100%);
    border: none !important;
    color: var(--unideals-primary) !important;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow:
        0 10px 18px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.unideals-consent-link-btn:hover,
.unideals-cookie-settings-btn:hover {
    background: linear-gradient(135deg, var(--unideals-primary) 0%, var(--unideals-accent) 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(28, 168, 203, 0.3);
}

.unideals-consent-link-btn:hover .unideals-gear-icon,
.unideals-cookie-settings-btn:hover .unideals-gear-icon {
    filter: brightness(0) invert(1);
}

.unideals-consent-link-btn:focus-visible,
.unideals-cookie-settings-btn:focus-visible {
    outline: 3px solid rgba(28, 168, 203, 0.35);
    outline-offset: 2px;
}

.unideals-cookie-settings-btn .unideals-gear-icon {
    color: var(--unideals-primary);
    fill: var(--unideals-primary);
    vertical-align: middle;
    margin-right: 6px;
    width: 16px;
    height: 16px;
    display: inline-block;
}

/* hover styles handled above */

/* Cookie Notification */
.unideals-cookie-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000000;
    max-width: 350px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: slideInRight 0.3s ease-out;
}

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

.unideals-notification-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.unideals-notification-error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.unideals-notification-info {
    background: linear-gradient(135deg, #1CA8CB 0%, #1593b3 100%);
    color: white;
}

/* Print Styles */
@media print {
    #unideals-overlay {
        position: static;
        background: white;
    }
    
    #unideals-popup {
        max-height: none;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    /* Always print full agreement text */
    #unideals-popup.unideals-legal-collapsed .unideals-legal-sections {
        display: block;
    }
    
    #unideals-buttons,
    #unideals-checkbox,
    #unideals-cookie-panel {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #unideals-popup,
    #unideals-popup * {
        animation: none !important;
        transition: none !important;
    }
}
