/* Cookie Policy Page Styles */

/* Cookieポリシーページではスプラッシュを完全に無効化 */
#splash {
    display: none !important;
}

/* bodyを即座に表示 */
body {
    opacity: 1 !important;
}

#wrapper {
    opacity: 1 !important;
}

/* Cookie テーブル */
.cookie-table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.dark-mode .cookie-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Policy Actions */
.policy-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.policy-actions .btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-actions .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
}

.policy-actions .btn-primary:hover {
    background: var(--primary-dark);
}

.policy-actions .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.policy-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Note styling */
.note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-table {
        font-size: 0.875rem;
    }

    .policy-actions {
        flex-direction: column;
    }

    .policy-actions .btn {
        width: 100%;
        text-align: center;
    }
}
