/* Modern Privacy Policy Widget Styles */
.modern-privacy-v4 {
    min-height: 100vh;
    background: linear-gradient(to bottom, #f8fafc, #ffffff, #f8fafc);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    padding: 48px 24px 64px;
}

/* Main Container */
.mp-container {
    max-width: 1280px;
    margin: 0 auto;
}

.mp-layout {
    display: flex;
    gap: 48px;
}

/* Sidebar */
.mp-sidebar {
    width: 256px;
    flex-shrink: 0;
}

.mp-sidebar-sticky {
    position: sticky;
    top: 32px;
}

.mp-sidebar h3 {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px 0;
    padding: 0;
}

.mp-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mp-nav-item {
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    border: none;
    background: none;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mp-nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mp-nav-item.active {
    font-weight: 500;
}

.mp-nav-icon {
    width: 16px;
    height: 16px;
    color: #94a3b8;
}

/* Main Content */
.mp-main {
    flex: 1;
    min-width: 0;
}

/* Sections Container */
.mp-sections {
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.mp-sections-inner {
    padding: 32px;
}

/* Section */
.mp-section {
    border-bottom: 1px solid #f1f5f9;
    animation: mpFadeIn 0.4s ease-out both;
}

.mp-section:last-child {
    border-bottom: none;
}

.mp-section-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
    margin: 0;
}

.mp-section-header:hover {
    background: #f8fafc;
    padding-left: 8px;
    padding-right: 8px;
}

.mp-section-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mp-section-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.mp-section-icon {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: color 0.3s;
}

.mp-section-title {
    font-weight: 500;
    font-size: 18px;
    font-weight: 500;
    color: #1e293b;
    margin: 0;
    padding: 0;
}

.mp-section-chevron {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.mp-section.open .mp-section-chevron {
    transform: rotate(180deg);
}

.mp-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.mp-section.open .mp-section-content {
    max-height: 10000px;
    opacity: 1;
    transition: max-height 0.4s ease-in, opacity 0.3s ease-in;
}

.mp-section-body {
    padding: 16px 0 24px 0;
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

.mp-section-body p {
    margin: 0 0 20px 0;
    padding: 0;
}

.mp-section-body p:last-child {
    margin-bottom: 0;
}

/* Category Boxes */
.mp-categories {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mp-category {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin: 0;
}

.mp-category .mp-label {
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 15px;
    display: block;
}

.mp-category p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Bullet List */
.mp-bullet-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.mp-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px 0;
    padding: 0;
}

.mp-bullet-list li:last-child {
    margin-bottom: 0;
}

.mp-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
}

/* Border Boxes */
.mp-border-box {
    padding: 0 0 0 20px;
    border-left: 4px solid;
    margin: 24px 0;
}

.mp-border-box .mp-label {
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 15px;
    display: block;
}

.mp-border-box p {
    font-size: 14px;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.mp-border-box.blue {
    border-left-color: #3b82f6;
}

.mp-border-box.purple {
    border-left-color: #a855f7;
}

.mp-border-box.amber {
    border-left-color: #f59e0b;
}

.mp-border-box.slate {
    border-left-color: #64748b;
}

/* Notice Boxes */
.mp-notice {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 20px;
    font-size: 14px;
    margin: 24px 0;
    line-height: 1.6;
    color: #78350f;
}

.mp-notice .mp-label {
    font-weight: 600;
    color: #78350f;
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 15px;
    display: block;
}

.mp-notice p {
    margin: 0 0 12px 0;
    color: #78350f;
}

.mp-notice p:last-child {
    margin-bottom: 0;
}

.mp-notice strong {
    color: #78350f;
}

.mp-notice.slate {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.mp-notice.slate strong {
    color: #334155;
}

.mp-notice.green {
    background: #ecfdf5;
    border-color: #86efac;
}

.mp-notice.green strong {
    color: #065f46;
}

.mp-notice.red {
    background: #fef2f2;
    border-color: #fca5a5;
}

.mp-notice.red strong {
    color: #991b1b;
}

/* Security Grid */
.mp-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.mp-security-item {
    background: #ecfdf5;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.mp-security-item svg {
    width: 24px;
    height: 24px;
    color: #10b981;
    margin: 0 auto 12px;
}

.mp-security-item span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #065f46;
    margin: 0;
    padding: 0;
}

/* Contact Box */
.mp-contact-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.mp-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px 0;
    padding: 0;
}

.mp-contact-item:last-child {
    margin-bottom: 0;
}

.mp-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mp-contact-item a {
    text-decoration: none;
    font-weight: 500;
}

.mp-contact-item a:hover {
    text-decoration: underline;
}

.mp-contact-item span {
    color: #64748b;
}

/* Dark Box */
.mp-dark-box {
    background: #1e293b;
    color: white;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.mp-dark-box .mp-label {
    font-weight: 600;
    margin: 0 0 16px 0;
    padding: 0;
    font-size: 15px;
    display: block;
}

.mp-dark-box ol {
    font-size: 14px;
    margin: 0 0 16px 0;
    padding-left: 24px;
    line-height: 1.6;
}

.mp-dark-box ol li {
    margin: 0 0 12px 0;
    padding: 0;
}

.mp-dark-box ol li:last-child {
    margin-bottom: 0;
}

.mp-dark-box a {
    color: #93c5fd;
}

.mp-dark-box a:hover {
    text-decoration: underline;
}

.mp-dark-box p {
    margin: 0;
    padding: 0;
}

.mp-dark-box .footnote {
    font-size: 12px;
    color: #94a3b8;
    margin: 16px 0 0 0;
}

/* Legal Basis Grid */
.mp-basis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.mp-basis-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.mp-basis-item strong {
    display: block;
    font-weight: 500;
    color: #1e293b;
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 14px;
}

.mp-basis-item p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Footer */
.mp-footer {
    text-align: center;
    margin-top: 40px;
    animation: mpFadeIn 0.4s ease-out both;
    padding: 0;
}

.mp-footer p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Scroll to Top Button */
.mp-scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1e293b;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1000;
}

.mp-scroll-top:hover {
    background: #334155;
    transform: translateY(-2px);
}

.mp-scroll-top.show {
    display: flex;
    animation: mpScaleIn 0.2s ease-out;
}

/* Animations */
@keyframes mpFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mpScaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .mp-sidebar {
        display: none;
    }
    
    .mp-layout {
        display: block;
    }
    
    .modern-privacy-v4 {
        background: none;
        padding: 0;
    }
    
    .mp-sections {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 768px) {
    .modern-privacy-v4 {
        padding: 0;
        background: none;
    }
    
    .mp-sections {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .mp-sections-inner {
        padding: 24px;
    }
    
    .mp-basis-grid {
        grid-template-columns: 1fr;
    }
}

/* Date Badges */
.mp-date-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mp-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

@media (max-width: 768px) {
    .mp-date-badges {
        flex-direction: column;
        gap: 8px;
    }
}
