/* Campaign-specific styles */

/* CSS Variables - Using Original Colors */
:root {
  --brand: #ff6b3577;
  --banner: rgba(250, 100, 46, 0.807);
  --brand-dark: #fde5dc;
  --bg: #fff9f6;
  --text: #99401f;
  --muted: #cc552a;
  --line: #ffd8ca;
  --button: #ffa135;
  --primary: var(--brand);
  --secondary: var(--muted);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --background: var(--bg);
  --card: #ffffff;
  --border: var(--line);
}

/* Campaign Create Layout - Full Size */
.campaign-create-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: var(--bg);
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Left Panel Styles */
.create-left-panel {
  flex: 1;
  background: linear-gradient(135deg, var(--banner) 0%, var(--brand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 40px;
  position: relative;
  overflow: hidden;
  order: 1;
}

.hero-section {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 500px;
}

.create-left-panel .hero-title {
  text-align: left;
  font-size: 60px;
  line-height: 1.1;
  margin: 0 auto 200px;
  display: block;
  width: 100%;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  animation: fadeInUp 1.2s ease-out;
}

.create-left-panel .hero-title span {
  font-size: 64px;
  font-weight: 900;
  position: relative;
  display: inline-block;
  color: var(--line);
  background: none;
  padding: 4px 8px;
  border-radius: 8px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.create-left-panel .hero-subtitle {
  font-size: 20px;
  margin: 0 0 40px;
  opacity: 0.9;
  line-height: 1.5;
}

.create-left-panel .hero-features {
  margin-top: 40px;
  text-align: left;
}

.create-left-panel .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  opacity: 0.9;
}

.create-left-panel .feature-item svg {
  margin-right: 12px;
  flex-shrink: 0;
}

.create-left-panel .hero-image {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.6;
}

/* Right Panel Styles */
.create-right-panel {
  flex: 1.5;
  background: var(--bg);
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  order: 2;
  overflow-y: auto;
  border-radius: 100px 0 0 100px;
}

.create-right-panel .form-container {
  width: 80%;
  max-width: 800px;
}

/* Override campaign_form.html styles for right panel usage */
.create-right-panel .campaign-form-container {
  min-height: auto !important;
  background: transparent !important;
}

/* Style the form panel appropriately */
.create-right-panel .campaign-form-panel {
  padding: 0 !important;
}

/* Ensure form cards display properly */
.create-right-panel .campaign-form-card {
  margin-bottom: 0 !important;
}

/* Mobile Responsive for Campaign Create */
@media (max-width: 768px) {
  .campaign-create-container {
    flex-direction: column;
  }

  .create-left-panel {
    order: 2;
    min-height: 300px;
    padding: 40px 20px;
  }

  .create-right-panel {
    order: 1;
    padding: 20px;
    border-radius: 0;
  }

  .create-left-panel .hero-title {
    font-size: 36px;
    margin-bottom: 100px;
  }

  .create-left-panel .hero-subtitle {
    font-size: 18px;
  }

  .create-left-panel .hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 20px;
    text-align: center;
  }

  .create-left-panel .hero-image svg {
    width: 250px;
    height: auto;
  }

  .create-right-panel {
    padding: 15px;
  }
}
