/* From Uiverse.io by vinodjangid07. Scoped to document-center downloads. */
.dc-downloads a.Documents-btn {
  display:flex; align-items:center; justify-content:flex-start; gap:10px;
  box-sizing:border-box; width:100%; min-width:0; min-height:45px; height:auto;
  padding:8px 12px; border:0; border-radius:5px; background:rgb(49,49,83);
  color:white; text-decoration:none; cursor:pointer;
  transition:background-color .3s,transform .3s;
}
.dc-downloads .Documents-btn .folderContainer {
  flex:0 1 40px; min-width:20px; width:40px; height:26px; display:flex;
  flex-direction:column; align-items:center; justify-content:flex-end; position:relative; margin:0;
}
.Documents-btn .fileBack { z-index:1; width:80%; height:auto; }
.Documents-btn .filePage { width:50%; height:auto; position:absolute; bottom:2px; z-index:2; transition:transform .3s ease-out; }
.Documents-btn .fileFront { width:85%; height:auto; position:absolute; bottom:0; z-index:3; opacity:.95; transform-origin:bottom; transition:transform .3s ease-out; }
.dc-downloads .Documents-btn .text { margin:0; color:white; font-size:14px; font-weight:600; letter-spacing:.5px; line-height:1.25; }
.dc-downloads .Documents-btn:is(:hover,:focus-visible) { background:rgb(58,58,94);color:white; }
.Documents-btn:is(:hover,:focus-visible) .filePage { transform:translateY(-5px); }
.Documents-btn:is(:hover,:focus-visible) .fileFront { transform:perspective(80px) rotateX(30deg); }
.dc-downloads .Documents-btn:active { transform:scale(.95); }
.dc-downloads .Documents-btn:focus-visible { outline:2px solid #4469a8;outline-offset:3px; }
.dc-downloads.dc-downloads-three .Documents-btn { padding-inline:5px;gap:4px; }
@media(prefers-reduced-motion:reduce){.dc-downloads .Documents-btn,.Documents-btn .filePage,.Documents-btn .fileFront{transition:none;transform:none!important}}
.dc-card .dc-card-body .dc-downloads a.Documents-btn[href*="TDS" i] {
  background: #57a595 !important;
}
.dc-card .dc-card-body .dc-downloads a.Documents-btn[href*="SDS" i] {
  background: #00645c !important;
}
.dc-grid > .dc-card:nth-child(3n+1) .dc-card-meta > span:first-child {background-color:#57a595;color:#082b25;}
.dc-grid > .dc-card:nth-child(3n+2) .dc-card-meta > span:first-child {background-color:#00645c;color:#fff;}
.dc-grid > .dc-card:nth-child(3n) .dc-card-meta > span:first-child {background-color:#d14011;color:#fff;}
.dc-card .dc-card-body .dc-downloads > a.Documents-btn:nth-of-type(3) {background:#d14011 !important;}
.dc-card .dc-card-body .dc-downloads:has(> a:nth-of-type(3)) {
  display:grid;grid-template-columns:minmax(max-content,1fr) minmax(max-content,1fr) minmax(max-content,1.48fr);gap:4px;
}
.dc-card .dc-downloads:has(> a:nth-of-type(3)) > a.Documents-btn {
  display:flex;justify-content:center;gap:3px;padding:5px 4px;min-height:40px;width:100%;white-space:nowrap;
}
.dc-card .dc-downloads:has(> a:nth-of-type(3)) .folderContainer {flex:0 0 18px;width:18px;min-width:0;height:15px;}
.dc-card .dc-downloads:has(> a:nth-of-type(3)) .text {font-size:12px;letter-spacing:0;white-space:nowrap;}
.dc-card .dc-downloads > a.Documents-btn::after {
  content:""; display:block; flex:0 0 15px; width:15px; height:15px; background:currentColor; color:white;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v13m-6-6 6 6 6-6M2 17v3q0 2 2 2h16q2 0 2-2v-3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.dc-card .dc-downloads:has(> a:nth-of-type(3)) > a.Documents-btn::after {width:12px;height:12px;flex-basis:12px;}
.dc-card .dc-downloads:has(> a:nth-of-type(3)) > a.Documents-btn {padding-inline:3px;gap:2px;}
.dc-card .dc-downloads:has(> a:nth-of-type(3)) .folderContainer {width:15px;flex-basis:15px;}
@media(max-width:359px){
  .dc-card .dc-card-body .dc-downloads:has(> a:nth-of-type(3)){gap:2px;}
  .dc-card .dc-downloads:has(> a:nth-of-type(3)) > a.Documents-btn{padding-inline:2px;gap:2px;}
  .dc-card .dc-downloads:has(> a:nth-of-type(3)) .folderContainer{width:13px;flex-basis:13px;}
  .dc-card .dc-downloads:has(> a:nth-of-type(3)) .text{font-size:11px;}
  .dc-card .dc-downloads:has(> a:nth-of-type(3)) > a.Documents-btn::after{width:10px;height:10px;flex-basis:10px;}
}
.page-hero-card .framework-hero-label .framework-hero-icon {background:#57a595!important;color:#082b25!important;}
.page-hero-card .framework-hero-label .framework-kicker {color:#00645c!important;}
.page-hero-card .framework-hero-actions a.button[href="#document-library"] {background:#00645c!important;border-color:#00645c!important;color:white!important;}
