/* powitania.pl — Light theme styles (Fiverr-inspired) */

/* Warm background */
body {
  background-color: #f7f3ef;
}

/* White logos → dark (for light backgrounds) */
.logo-dark {
  filter: brightness(0);
  opacity: 0.5;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.logo-dark:hover {
  opacity: 0.8;
}

/* Hero */
.hero-dotgrid {
  background-color: #faf8f5;
}

/* Kreator widget scoped styles */
.kreator-widget {
  max-width: 800px;
  margin: 0 auto;
}

.kreator-inner {
  animation: kreator-fade 0.3s ease;
}

@keyframes kreator-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.kreator-card {
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.kreator-card:hover {
  border-color: #ea580c;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(234, 88, 12, 0.15);
  transform: translateY(-2px);
}

/* Buttons */
.kreator-btn-primary {
  background-color: #ea580c;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.kreator-btn-primary:hover {
  background-color: #f97316;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.kreator-btn-primary:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.kreator-btn-secondary {
  background-color: transparent;
  color: #374151;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* Form elements */
.kreator-input,
.kreator-select,
.kreator-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  background: #ffffff;
  color: #374151;
}

.kreator-input::placeholder,
.kreator-textarea::placeholder {
  color: #9ca3af;
}

.kreator-select {
  color: #374151;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7280' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.kreator-select option {
  background: #ffffff;
  color: #374151;
}

.kreator-input:focus,
.kreator-select:focus,
.kreator-textarea:focus {
  outline: none;
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.kreator-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Spinner */
.kreator-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #ea580c;
  border-radius: 50%;
  animation: kreator-spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes kreator-spin {
  to { transform: rotate(360deg); }
}

/* Toast */
.kreator-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #ea580c;
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 1000;
  animation: kreator-toast-in 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@keyframes kreator-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Responsive */
@media (max-width: 640px) {
  .kreator-card {
    padding: 1.5rem;
  }

  .kreator-btn-primary,
  .kreator-btn-secondary {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}
