* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

p {
    margin-bottom: 1.5rem;
    text-align: center;
}

.input-section {
    margin-bottom: 2rem;
}

textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    font-size: 1rem;
}

button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.loading-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result-section, .error-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-container {
    max-width: 100%;
    margin: 0 auto;
}

video {
    width: 100%;
    border-radius: 5px;
}

.prompt-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.prompt-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

.error-section {
    background-color: #ffebee;
    color: #c62828;
}

/* Ek stil tanımlamaları */
.aspect-w-16 {
  position: relative;
  padding-bottom: 56.25%;
}

.aspect-w-16 > * {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Mobil cihazlar için ek düzenlemeler */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  .prompt-item {
    margin-bottom: 1rem;
  }
}

/* Animasyonlar için ek tanımlamalar */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  0% { 
    transform: translateY(20px);
    opacity: 0;
  }
  100% { 
    transform: translateY(0);
    opacity: 1;
  }
}

/* Buton hover efektleri */
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: translateY(0);
}

.card {
    border-radius: 15px;
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
}

.prompt-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left !important;
}

/* Ensure all child elements of prompt-card are also left-aligned */
.prompt-card * {
    text-align: left !important;
}

/* Exception for the style title and edit button */
.prompt-card h3 {
    text-align: center !important;
    color: #80CBC4 !important;
}

.prompt-card .flex.justify-center {
    text-align: center !important;
}

.prompt-card .edit-btn {
    text-align: center !important;
}

/* Remove hover effect - only show effects when selected */
/* .prompt-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
} */

.prompt-card.selected {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

.video-player {
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

/* Aspect ratio utilities */
.aspect-w-9 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 9;
}

.aspect-h-16 {
    --tw-aspect-h: 16;
}

.aspect-w-9 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

@font-face {
    font-family: 'PhantomSans';
    src: url('/static/fonts/PhantomSans0.8-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PhantomSansBold';
    src: url('/static/fonts/PhantomSans0.8-Bold.otf') format('opentype');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PhantomSansRegular';
    src: url('/static/fonts/PhantomSans0.8-Regular.otf') format('opentype');
    font-style: normal;
    font-display: swap;
}

.phantom-text {
    font-family: 'PhantomSans', sans-serif;
    letter-spacing: -0.01em;
    font-size: 18px;
    text-align: left;
}

.phantom-text-regular {
    font-family: 'PhantomSansRegular', sans-serif;
    letter-spacing: -0.01em;
    font-size: 18px;
    text-align: left;
}

/* Specific override for prompt cards */
.prompt-card .phantom-text-regular,
.prompt-container .phantom-text-regular {
    text-align: left !important;
}

.phantom-font {
    font-family: 'PhantomSansBold', sans-serif;
    font-size: 28px;
    letter-spacing: -0.02em;
} 