/* Minimal Styles for ProfilePicGen */

:root {
  --bg: #ffffff;
  --bg-subtle: #f7f7f8;
  --text: #111111;
  --text-muted: #4a4a4a;
  --border: #e5e5e5;
}

* { box-sizing: border-box; }

body {
  background: var(--bg-subtle);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 700; }
p, .text-muted { color: var(--text-muted) !important; }

.navbar {
  border-bottom: 1px solid var(--border);
}

.btn { border-radius: 10px; font-weight: 600; padding: 0.75rem 1.25rem; border: 1px solid var(--border); }
.btn-dark { background: #111; color: #fff; border-color: #111; }
.btn-outline-dark { background: transparent; color: #111; border-color: #111; }
.btn:hover { opacity: 0.9; }

.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: none; }
.card-header { background: #fff; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 700; }
.card-body { padding: 1.25rem; }

.form-control, .form-select { border-radius: 10px; border: 1px solid var(--border); padding: 0.75rem 1rem; }
.form-control:focus, .form-select:focus { box-shadow: none; border-color: #111; }

.table { background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.table thead th { background: #fff; color: var(--text-muted); border-bottom: 1px solid var(--border); font-weight: 700; }
.table tbody td { border-bottom: 1px solid var(--border); }

.alert { border-radius: 10px; border: 1px solid var(--border); color: var(--text); background: #fff; }

/* Pictures grid */
.pictures-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.picture-card { border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.picture-card img { width: 100%; height: 180px; object-fit: cover; background: var(--bg-subtle); }
.picture-card .content { padding: 12px; }
.picture-card .title { font-weight: 700; margin-bottom: 4px; }
.picture-card .desc { color: var(--text-muted); font-size: 0.95rem; }
.picture-card .actions { padding: 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; }

/* Utilities */
.text-muted { color: var(--text-muted) !important; }
.bg-white { background: #fff !important; }

/* Hero Section */
.hero-section {
  padding: 2rem 0;
}

.hero-examples-container {
  max-width: 500px;
  margin: 0 auto;
}

.hero-examples-carousel {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  aspect-ratio: 1/1;
}

.hero-example-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-example-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-example-image.active {
  opacity: 1;
}

.hero-carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active,
.hero-indicator:hover {
  background: white;
  border-color: white;
}

.hero-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #6c757d;
}

.hero-caption {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.hero-examples-container:hover .hero-caption {
  opacity: 1;
}

/* Examples Gallery */
.examples-section {
  padding: 2rem 0;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 2rem;
}

.example-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.example-image-container {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.example-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.example-card:hover .example-image {
  transform: scale(1.05);
}

.example-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.example-card:hover .example-overlay {
  opacity: 1;
}

.example-use-btn {
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.example-card:hover .example-use-btn {
  transform: translateY(0);
}

.example-info {
  padding: 16px;
}

.example-prompt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
  line-height: 1.4;
}

/* Edit Examples Gallery */
.edit-examples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.edit-example-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edit-example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.edit-example-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 8/3;
}

.edit-before,
.edit-after {
  position: relative;
  overflow: hidden;
}

.edit-example-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.edit-example-card:hover .edit-example-image {
  transform: scale(1.05);
}

.edit-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.edit-after .edit-label {
  background: rgba(34, 197, 94, 0.9);
}

/* Prompt Helper Cards in Modal */
.prompt-example-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.prompt-example-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
  transform: translateY(-2px);
}

.prompt-category {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bs-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.prompt-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
  flex-grow: 1;
}

/* Modal Styling */
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0;
  }
  
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-section .col-lg-6:first-child {
    margin-top: 2rem;
    text-align: center;
  }
  
  .examples-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .edit-examples-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .edit-example-comparison {
    aspect-ratio: 4/3;
    grid-template-columns: 1fr;
  }

  .prompt-example-card {
    padding: 12px;
  }

  .prompt-category {
    font-size: 0.85rem;
  }

  .prompt-text {
    font-size: 0.8rem;
  }
  
  .edit-before,
  .edit-after {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 576px) {
  .hero-examples-container {
    max-width: 100%;
  }
  
  .d-flex.gap-4 {
    flex-direction: column;
    gap: 1rem !important;
    align-items: center !important;
  }
  
  .d-flex.gap-4 > div {
    text-align: center;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
