/* Public Documents Index Page Styles */

.members-page {
    padding: 2rem 0;
}

.members-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.welcome-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-left: 5px solid #183661;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 25px rgba(24, 54, 97, 0.1);
}

.welcome-card h2 {
    color: #183661;
    font-size: 2rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.welcome-card p {
    color: #495057;
    line-height: 1.7;
    margin: 0;
    font-size: 1.1rem;
}

.documents-section {
    margin-top: 3rem;
}

.category-title {
    color: #183661;
    font-size: 1.75rem;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #183661;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.document-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-left: 4px solid #183661;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 54, 97, 0.15);
    border-left-color: #64748b;
}

.document-card h3 {
    color: #183661;
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    line-height: 1.3;
}

.document-filename {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.document-link {
    display: inline-block;
    color: #183661;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid #183661;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
}

.document-link:hover {
    background: #183661;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 54, 97, 0.3);
}

.empty-state {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    color: #6c757d;
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .welcome-card {
        padding: 1.5rem;
    }

    .welcome-card h2 {
        font-size: 1.75rem;
    }

    .document-card {
        padding: 1.5rem;
    }

    .document-card h3 {
        font-size: 1.25rem;
    }
}
