

/* Start:/local/templates/.default/components/bitrix/news.list/student-budget-documents/style.css?17903273253346*/
.documents__title {
    font-size: 28px;
    margin: 0 0 24px;
}
.documents__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.doc-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    border-color: #0066cc;
}
.doc-card__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 68px;
    border-radius: 6px;
    background: #6b7280;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    position: relative;
}
.doc-card__icon::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,.4) 50%, transparent 50%);
    border-bottom-left-radius: 4px;
}

/* Цвета иконок по типу файла */
.doc-icon--pdf  { background: #e53935; }
.doc-icon--doc,
.doc-icon--docx { background: #1976d2; }
.doc-icon--xls,
.doc-icon--xlsx { background: #388e3c; }
.doc-icon--ppt,
.doc-icon--pptx { background: #f57c00; }
.doc-icon--zip,
.doc-icon--rar  { background: #7b1fa2; }
.doc-icon--jpg,
.doc-icon--jpeg,
.doc-icon--png  { background: #0097a7; }
.doc-icon--default { background: #6b7280; }

.doc-card__body {
    flex: 1;
    min-width: 0;
}
.doc-card__name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.35;
    word-break: break-word;
}
.doc-card__desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
    line-height: 1.4;
}
.doc-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #888;
}
.doc-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.doc-card__category {
    background: #f0f4ff;
    color: #0066cc;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}
.doc-card__download {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #0066cc;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
}
.doc-card__download:hover {
    background: #0052a3;
    color: #fff;
}
.doc-card__download svg {
    width: 16px;
    height: 16px;
}
.documents__empty {
    color: #888;
    font-style: italic;
}

@media (max-width: 600px) {
    .doc-card { flex-wrap: wrap; }
    .doc-card__download {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}

.documents__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.documents__filter-item {
    padding: 6px 14px;
    background: #f3f4f6;
    color: #333;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background .2s, color .2s;
}
.documents__filter-item:hover { background: #e5e7eb; }
.documents__filter-item.active {
    background: #0066cc;
    color: #fff;
}
/* End */
/* /local/templates/.default/components/bitrix/news.list/student-budget-documents/style.css?17903273253346 */
