/* ==========================================================================
   resourceCard & resourceSection Component Styles
   Matches reference UI for Library tab:
   - Centered section title ("Attached Resources") and subtitle
   - Cards with 6px border-radius matching project aesthetic
   - Left 48x48 icon box with PDF text, web window icon, or circular play button
   - Bold title and URL link on right
   ========================================================================== */

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

.resource-section-header {
  text-align: center;
  margin-bottom: 16px;
  padding-top: 2px;
}

.resource-section-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;
}

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

/* Resource Cards Container */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* Individual Resource Card */
.resource-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.resource-card:hover {
  border-color: #dce1e8;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.resource-card:active {
  transform: scale(0.995);
}

/* Left Icon Container Box */
.resource-card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
}

.resource-card-pdf-badge {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  letter-spacing: -0.01em;
}

.resource-card-icon {
  display: block;
  color: #374151;
}

/* Right Content Area */
.resource-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.resource-card-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 650;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-card-url,
.resource-card-description {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}