/**
 * ============================================
 * Copyright 2026 DM Atcheh
 * Server/Aplikasi SelfBooth ShiroStudio
 * ============================================
 * DMLegal.css - Stylesheet Legal Pages (Privacy Policy & Terms of Service)
 */

.dm-legal-section {
    min-height: 75vh;
    padding: 120px 0 80px !important;
}

@media (max-width: 768px) {
    .dm-legal-section {
        padding: 95px 0 60px !important;
    }
}

.dm-terms-page {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dm-bg-card, #09111e);
    border: 2px solid rgba(0, 180, 216, 0.25);
    border-radius: 6px;
    padding: 2.5rem;
    box-shadow: 4px 4px 0px rgba(0, 180, 216, 0.15);
}

.dm-terms-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid rgba(0, 180, 216, 0.2);
}

.dm-terms-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
    color: var(--dm-text-primary);
}

.dm-terms-subtitle {
    font-size: 0.95rem;
    color: #00b4d8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dm-terms-intro {
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--dm-bg-input, #0d1728);
    border: 1.5px solid rgba(0, 180, 216, 0.2);
    border-radius: 4px;
}

.dm-terms-intro p {
    margin: 0;
    line-height: 1.7;
    color: var(--dm-text-secondary);
    font-size: 0.95rem;
}

.dm-terms-list {
    list-style: none;
    counter-reset: terms;
    padding: 0;
    margin: 0 0 2rem;
}

.dm-terms-list li {
    counter-increment: terms;
    position: relative;
    padding-left: 3.25rem;
    margin-bottom: 1.75rem;
}

.dm-terms-list li::before {
    content: counter(terms);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 4px;
    background: #00b4d8;
    color: #050a12;
    font-size: 0.9rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #050a12;
    box-shadow: 2px 2px 0px #38bdf8;
}

.dm-terms-list h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--dm-text-primary);
    text-transform: uppercase;
}

.dm-terms-list p {
    margin: 0;
    line-height: 1.7;
    color: var(--dm-text-secondary);
    font-size: 0.925rem;
}

.dm-privacy-sub {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dm-privacy-sub li {
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.65;
    color: var(--dm-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.dm-privacy-sub li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #00b4d8;
    box-shadow: 1px 1px 0px #38bdf8;
}

.dm-privacy-sub li strong {
    font-weight: 700;
    color: var(--dm-text-primary);
}

.dm-terms-back {
    padding-top: 1.5rem;
    border-top: 1.5px solid rgba(0, 180, 216, 0.2);
}

@media (max-width: 640px) {
    .dm-terms-page {
        padding: 1.5rem 1.25rem;
    }
    .dm-terms-list li {
        padding-left: 2.75rem;
    }
    .dm-terms-list li::before {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 0.8rem;
    }
}
