/* Jobs Page Layout */
.jobs-container {
  padding: 30px 0;
}

.jobs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
}

/* Sidebar */
.jobs-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.search-box, .post-job-box {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

.search-box h3, .post-job-box h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
  border-color: #2563eb;
}

.clear-search {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #dc2626;
  font-size: 0.85rem;
  text-decoration: none;
}

.post-job-box p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.btn-outline {
  background: white;
  color: #2563eb;
  border: 2px solid #2563eb;
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: #eff6ff;
}

/* Jobs Main */
.jobs-header {
  margin-bottom: 20px;
}

.jobs-header h1 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.jobs-header p {
  color: #6b7280;
}

/* Job Cards */
.job-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.job-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  border-left: 4px solid #2563eb;
  transition: transform 0.2s, box-shadow 0.2s;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.job-shop-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.shop-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.job-shop-name {
  font-size: 1rem;
  color: #1f2937;
}

.job-owner {
  font-size: 0.85rem;
  color: #6b7280;
}

.salary-badge {
  background: #d1fae5;
  color: #059669;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.job-card-body {
  margin-bottom: 12px;
}

.job-title {
  font-size: 1.2rem;
  color: #1f2937;
  margin-bottom: 6px;
}

.job-desc {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tag {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #475569;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.job-date {
  font-size: 0.8rem;
  color: #9ca3af;
}

.job-actions {
  display: flex;
  gap: 8px;
}

.btn-contact {
  background: #10b981;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-contact:hover {
  background: #059669;
}

.btn-shown {
  background: #d1fae5;
  color: #059669;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-locked {
  background: #fef3c7;
  color: #d97706;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: none;
}

.btn-locked:hover {
  background: #fde68a;
}

.btn-edit {
  background: #2563eb;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-edit:hover { background: #1d4ed8; }

.btn-delete {
  background: #dc2626;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-delete:hover { background: #b91c1c; }

/* Responsive */
@media (max-width: 768px) {
  .jobs-layout {
    grid-template-columns: 1fr;
  }
  .jobs-sidebar {
    position: static;
  }
  .job-list {
    grid-template-columns: 1fr;
  }
  .job-card-header {
    flex-direction: column;
    gap: 10px;
  }
  .job-card-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}


/* Jobs Guest Page */
.jobs-guest-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 40px 20px;
}

.jobs-guest-box {
  background: white;
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.guest-icon {
  font-size: 4rem;
  margin-bottom: 15px;
}

.jobs-guest-box h1 {
  font-size: 1.8rem;
  color: #1f2937;
  margin-bottom: 10px;
}

.guest-desc {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 30px;
}

.guest-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.guest-feature {
  background: #f9fafb;
  border-radius: 10px;
  padding: 15px;
  border: 1px solid #e5e7eb;
}

.guest-feature span {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 5px;
}

.guest-feature p {
  color: #374151;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.guest-cta {
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  border-radius: 12px;
  padding: 25px;
}

.guest-cta h3 {
  color: #1e40af;
  margin-bottom: 8px;
}

.guest-cta p {
  color: #6b7280;
  margin-bottom: 15px;
  font-size: 0.9rem;
}
