/* ==========================================================================
   documentCard Component Styles
   General Document / PDF Preview Card Component
   ========================================================================== */

/* Section Container */
.document-card-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* Section Header */
.document-card-header {
  text-align: center;
  margin-bottom: 14px;
}

.document-card-header-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 3px 0;
}

.document-card-header-subtitle {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11.5px;
  font-weight: 400;
  color: #374151;
  line-height: 1.4;
  margin: 0;
}

/* Outer Card Container */
.document-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  width: 100%;
}

/* Document Thumbnail Box */
.document-card-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #0f172a;
  border-radius: 6px;
  overflow: hidden;
}

.document-card-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.document-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  user-select: none;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.document-card-badge svg {
  stroke: #ffffff;
}

.document-card-badge-text {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

/* Body Details Area */
.document-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 4px;
}

.document-card-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
}

.document-card-description {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11.5px;
  font-weight: 400;
  color: #374151;
  line-height: 1.4;
  margin: 0;
  max-width: 290px;
}

/* Download Button */
.document-card-download-btn {
  width: 100%;
  height: 38px;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.document-card-download-btn:hover {
  background-color: #f9fafb;
  border-color: #dce1e8;
}

.document-card-download-btn:active {
  transform: scale(0.99);
  background-color: #f3f4f6;
}

.document-card-download-icon {
  color: #111827;
}
