body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(to bottom, #f2f6fa, #e8eef5);
    color: #1d1d1f;
    margin: 0;
    padding: 40px 20px;
    line-height: 1.5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, #007aff, #5ac8fa);
    color: white;
    padding: 40px 24px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
    margin-bottom: 36px;
}

header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 600;
}

header p {
    margin: 0;
    opacity: 0.95;
    font-size: 17px;
}

.card {
    background: white;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #007aff;
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5ea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.count-badge {
    background: #007aff;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.module {
    margin: 24px 0;
    padding: 20px;
    background: #f8fbff;
    border-radius: 14px;
    border-left: 5px solid #007aff;
}

.module h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    color: #007aff;
    font-weight: 600;
}

.doc-item {
    background: white;
    border: 1px solid #d1e4ff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.doc-type {
    font-weight: 600;
    color: #007aff;
    font-size: 15px;
}

.doc-code {
    font-family: Menlo, Monaco, Consolas, monospace;
    background: #e5f2ff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
}

.empty {
    color: #888;
    font-style: italic;
    margin: 12px 0;
}

footer {
    text-align: center;
    padding: 50px;
    color: #666;
    font-size: 14px;
}

.field-list {
    display: grid;
    grid-template-columns: max-content auto;
    gap: 12px 20px;
    align-items: baseline;
}

.field-label {
    font-weight: 600;
    color: #555;
    text-align: right;
    min-width: 150px;
}

.field-value {
    color: #1d1d1f;
}

.description-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* Status Badges */
.status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 500;
    color: white;
}

.status-badge.success {
    background: #28a745;
    /* Green */
}

.status-badge.info {
    background: #007aff;
    /* Blue, similar to count-badge but smaller */
}

.status-badge.warning {
    background: #ffcc00;
    /* Yellow */
    color: #333;
}

.status-badge.neutral {
    background: #8e8e93;
    /* Gray */
}

/* Parties Involved Section */
.party-info {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.party-info:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.party-role {
    font-weight: 600;
    color: #007aff;
    margin-bottom: 4px;
    display: block;
}

.party-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.party-details {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}