/* Websites Section */
.websites-container {
  background: white;
  padding: 30px;
  border-radius: 8px;
}

.websites-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.add-website-btn {
  padding: 10px 20px;
  background: #000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.add-website-btn:hover {
  background: #333;
}

.websites-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.websites-table th {
  background: #f8f9fa;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #e1e8ed;
}

.websites-table td {
  padding: 12px;
  border-bottom: 1px solid #e1e8ed;
}

.websites-table tr:hover {
  background: #f8f9fa;
}

.website-link {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.website-link:hover {
  text-decoration: underline;
}

.platform-badge {
  display: inline-block;
  padding: 4px 8px;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.website-badge {
  display: inline-block;
  padding: 2px 6px;
  background: #000;
  color: white;
  border-radius: 3px;
  font-size: 11px;
  margin-left: 5px;
  font-weight: 500;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px 8px;
  transition: transform 0.2s;
}

.btn-icon:hover {
  transform: scale(1.2);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #e1e8ed;
}

.modal-header h2 {
  margin: 0;
  font-size: 20px;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  color: #000;
}

#websiteForm {
  padding: 30px;
}

#websiteForm .form-group {
  margin-bottom: 20px;
}

#websiteForm label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #000;
}

#websiteForm input,
#websiteForm select,
#websiteForm textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

#websiteForm input:focus,
#websiteForm select:focus,
#websiteForm textarea:focus {
  outline: none;
  border-color: #000;
}

#websiteForm small {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 12px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 30px;
}

.btn-primary {
  padding: 10px 20px;
  background: #000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #333;
}

.btn-secondary {
  padding: 10px 20px;
  background: white;
  color: #000;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: #000;
}

.edit-customer-btn {
  padding: 8px 16px;
  background: #000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.edit-customer-btn:hover {
  background: #333;
}

.websites-actions {
  margin-bottom: 15px;
  display: flex;
  justify-content: flex-end;
}

.sync-btn {
  padding: 8px 16px;
  background: #2ecc71;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.sync-btn:hover {
  background: #27ae60;
}

.sync-btn:disabled {
  background: #95a5a6;
  cursor: not-allowed;
}

.source-badge {
  display: inline-block;
  padding: 4px 8px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

/* Status badges with colors */
.status.inactive {
  background: #ffebee;
  color: #c62828;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.status.active {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.status.maintenance {
  background: #fff3e0;
  color: #ef6c00;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.websites-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card-small {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  text-align: center;
}

.stat-card-small h4 {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.stat-card-small .stat-value-small {
  font-size: 28px;
  font-weight: 700;
  color: #000;
}
