:root {
    --body-background: #f9fafb;
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --text-color: #1f2937;
    --light-gray: #f3f4f6;
    --border-color: #d1d5db;
    --success-color: #10b981;
}

.gcheck-downloads-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gcheck-downloads-container {
    color: var(--text-color);
    line-height: 1.6;
    max-width: 1320px;
    margin: 0 auto;
}

.gcheck-downloads-container header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.gcheck-downloads-container .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.gcheck-downloads-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.gcheck-downloads-container .subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.gcheck-downloads-container .thank-you-card {
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.gcheck-downloads-container .thank-you-card h2 {
    color: var(--success-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.gcheck-downloads-container .thank-you-card p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.gcheck-downloads-container .download-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.gcheck-downloads-container .download-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.gcheck-downloads-container .pdf-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.2s ease;
    background: white;
}

.gcheck-downloads-container .pdf-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

/* Remove the PDF icon */
.gcheck-downloads-container .pdf-icon {
    display: none;
}

.gcheck-downloads-container .pdf-details {
    flex: 1;
    margin-right: 1rem;
}

.gcheck-downloads-container .pdf-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.4;
}

.gcheck-downloads-container .pdf-meta {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

.gcheck-downloads-container .download-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    white-space: nowrap;
}

.gcheck-downloads-container .download-btn:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
    color: white;
}

.gcheck-downloads-container .no-file-message {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-size: 1.1rem;
}

.gcheck-downloads-container footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: #6b7280;
    font-size: 0.875rem;
}

/* When showing all documents (no specific doc parameter) */
.gcheck-downloads-container .pdf-container > .no-file-message {
    text-align: left;
    padding: 0;
    margin-bottom: 1.5rem;
    color: #6b7280;
    font-style: italic;
}

/* View All Documents button */
.gcheck-downloads-container .download-btn[style*="background-color: #6b7280"] {
    background-color: #6b7280 !important;
}

.gcheck-downloads-container .download-btn[style*="background-color: #6b7280"]:hover {
    background-color: #4b5563 !important;
}

.gcheck-downloads-container .no-file-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
    font-size: 1.1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.gcheck-downloads-container .no-file-message a {
    color: var(--primary-color);
    text-decoration: underline;
}

.gcheck-downloads-container .no-file-message a:hover {
    color: var(--primary-dark);
}

@media (max-width: 600px) {
    .gcheck-downloads-container {
        padding: 1rem;
    }
    
    .gcheck-downloads-container h1 {
        font-size: 1.75rem;
    }
    
    .gcheck-downloads-container .pdf-item {
        flex-direction: column;
        text-align: left;
    }
    
    .gcheck-downloads-container .pdf-details {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .gcheck-downloads-container .download-btn {
        align-self: flex-end;
    }
}