/* ==========================================================================
   Semligo Ultimate Freelancer Card Styles (Fiverr Pro Grid Style)
   ========================================================================== */

body {
  background-color: #f8fafc !important;
}

#freelancers {
  margin-left: -10px;
  margin-right: -10px;
}

.freelancer-col {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 24px;
}

.card-v1 {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card-v1:hover {
  border-color: #10b981;
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.12);
  transform: translateY(-4px);
}

.v1-card-top {
  padding: 22px 18px 14px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

/* Top-Left Profile Button */
.v1-profile-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #f8fafc;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  padding: 3.5px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  z-index: 2;
  cursor: pointer;
}

.v1-profile-btn:hover {
  background: #00cc8d;
  color: #ffffff !important;
  border-color: #00cc8d;
  box-shadow: 0 2px 8px rgba(0, 204, 141, 0.25);
  transform: translateY(-1px);
}

/* Top-Right Level Badge */
.v1-level-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  padding: 3.5px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  z-index: 2;
}

.v1-level-default {
  background: #fefce8;
  color: #b45309;
  border-color: #fef08a;
}

.v1-level-1 {
  background: #fefce8;
  color: #b45309;
  border-color: #fef08a;
}

.v1-level-2 {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.v1-level-3 {
  background: #fdf4ff;
  color: #a21caf;
  border-color: #f5d0fe;
}

/* Avatar & Online Dot */
.v1-avatar-box {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.v1-avatar {
  width: 76px !important;
  height: 76px !important;
  max-width: 76px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
  background: #f1f5f9 !important;
  display: block !important;
  margin: 0 auto !important;
}

.v1-online-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.v1-offline-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #94a3b8;
  border: 2px solid #ffffff;
}

/* Name & Headline */
.v1-name-wrapper {
  margin-bottom: 4px;
}

.v1-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.v1-name:hover {
  color: #00cc8d !important;
}

.v1-verified-icon {
  color: #00cc8d;
  font-size: 14px;
}

.v1-headline {
  font-size: 13px;
  color: #059669;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  min-height: 35px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating Row */
.v1-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.v1-rating-stars {
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: -1px;
}

.v1-review-count {
  color: #64748b;
  font-weight: 500;
  font-size: 12px;
}

/* Card Body */
.v1-card-body {
  padding: 14px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v1-meta-row {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v1-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.v1-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.v1-skill-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

/* Card Footer */
.v1-card-footer {
  padding: 12px 18px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v1-price-col {
  display: flex;
  flex-direction: column;
}

.v1-price-label {
  font-size: 10.5px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.v1-price-val {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.btn-v1-chat {
  background: #10b981;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

.btn-v1-chat:hover {
  background: #059669;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .freelancer-col {
    margin-bottom: 18px;
  }
}
