/* Free Resume Builder Templates Catalog & Variations CSS */

.frb-templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.frb-template-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.frb-template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0,0,0,0.1);
  border-color: #93c5fd;
}

.frb-template-thumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  position: relative;
}

/* Mini CSS Mockup of Template */
.frb-mini-sheet {
  width: 140px;
  height: 198px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border-radius: 2px;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.frb-mini-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 2px;
}
.frb-mini-bar-primary { background: #2563eb; width: 60%; height: 8px; }
.frb-mini-bar-accent { background: #3b82f6; width: 40%; }
.frb-mini-bar-sub { background: #cbd5e1; width: 80%; }
.frb-mini-line { height: 3px; background: #e2e8f0; border-radius: 1px; width: 100%; margin-bottom: 2px; }

.frb-template-details {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.frb-template-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.frb-template-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.frb-template-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Template Color Variants */
.frb-template-01 .frb-cl-header { border-color: #2563eb; }
.frb-template-02 .frb-cl-header { border-color: #059669; }
.frb-template-03 .frb-cl-header { border-color: #7c3aed; }
.frb-template-04 .frb-cl-header { border-color: #0f172a; }
.frb-template-05 .frb-cl-header { border-color: #d97706; }
.frb-template-06 .frb-cl-header { border-color: #0284c7; }
.frb-template-07 .frb-cl-header { border-color: #4f46e5; }
.frb-template-08 .frb-cl-header { border-color: #16a34a; }
.frb-template-09 .frb-cl-header { border-color: #dc2626; }
.frb-template-10 .frb-cl-header { border-color: #475569; }

/* Filter Tabs */
.frb-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.frb-filter-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.frb-filter-btn.active, .frb-filter-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
