html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--da-surface);
}

#loadingContainer {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0078d4;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#summaryContainer {
    display: none;
    height: 100vh;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

#summaryContainer.active {
    display: flex;
}

.summary-header {
    margin-bottom: 15px;
    padding: 15px;
    background-color: var(--da-surface-alt);
    border-radius: 4px;
    flex-shrink: 0;
}

.summary-content {
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
    padding-right: 10px;
}

.button-container {
    margin-top: 15px;
    text-align: right;
    flex-shrink: 0;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
}

.btn-primary {
    background-color: #0078d4;
    color: white;
}

.btn-primary:hover {
    background-color: #005a9e;
}

.btn-secondary {
    background-color: var(--da-surface-alt);
    color: var(--da-text);
}

.btn-secondary:hover {
    background-color: #d1d1d1;
}