/* Articulat CF Font */
@font-face {
  font-family: "Articulat CF";
  src: url("assets/ArticulatCF/ArticulatCF-Regular.woff2") format("woff2"),
    url("assets/ArticulatCF/ArticulatCF-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Articulat CF";
  src: url("assets/ArticulatCF/ArticulatCF-Medium.woff2") format("woff2"),
    url("assets/ArticulatCF/ArticulatCF-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Articulat CF";
  src: url("assets/ArticulatCF/ArticulatCF-Bold.woff2") format("woff2"),
    url("assets/ArticulatCF/ArticulatCF-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Vandalord - latin */
@font-face {
  font-family: "Vandalord";
  src: url("assets/Vandalord/Vandalord Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  unicode-range: U+0020-00FE;
}

/* TT Interphases Pro - Regular Width */
@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Regular Italic.ttf")
    format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Thin.ttf")
    format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Thin Italic.ttf")
    format("truetype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial ExtraLight.ttf")
    format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial ExtraLight Italic.ttf")
    format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Light.ttf")
    format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Light Italic.ttf")
    format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Medium Italic.ttf")
    format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial DemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial DemiBold Italic.ttf")
    format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Bold Italic.ttf")
    format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial ExtraBold.ttf")
    format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial ExtraBold Italic.ttf")
    format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Black.ttf")
    format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Black Italic.ttf")
    format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

/* TT Interphases Pro - Condensed Width */
@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Italic.ttf")
    format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Thin.ttf")
    format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Thin Italic.ttf")
    format("truetype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed ExtraLight.ttf")
    format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed ExtraLight Italic.ttf")
    format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Light.ttf")
    format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Light Italic.ttf")
    format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Medium Italic.ttf")
    format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed DemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed DemiBold Italic.ttf")
    format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Bold Italic.ttf")
    format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed ExtraBold.ttf")
    format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed ExtraBold Italic.ttf")
    format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Black.ttf")
    format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Condensed";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Condensed Black Italic.ttf")
    format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

/* TT Interphases Pro - Mono */
@font-face {
  font-family: "TT Interphases Pro Mono";
  src: url("assets/TTInterphases/TT Interphases Pro Mono Trial Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Mono";
  src: url("assets/TTInterphases/TT Interphases Pro Mono Trial Italic.ttf")
    format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Mono";
  src: url("assets/TTInterphases/TT Interphases Pro Mono Trial Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Mono";
  src: url("assets/TTInterphases/TT Interphases Pro Mono Trial Bold Italic.ttf")
    format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Mono";
  src: url("assets/TTInterphases/TT Interphases Pro Mono Trial Var Roman.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

@font-face {
  font-family: "TT Interphases Pro Mono";
  src: url("assets/TTInterphases/TT Interphases Pro Mono Trial Var Italic.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

/* TT Interphases Pro - Variable Font */
@font-face {
  font-family: "TT Interphases Pro Variable";
  src: url("assets/TTInterphases/TT Interphases Pro Trial Variable.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-00FE;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Articulat CF", "Inter", "Segoe UI", -apple-system,
    BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #0e0e0e;
  background: #0e0e0e;
  min-height: 100vh;
  font-weight: 400;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 30px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  margin-bottom: 30px;
  color: white;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 30px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-title {
  font-size: 2rem;
  color: white;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.header-text h1 {
  font-size: 2.4rem;
  color: white;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.preview-text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Main Content Layout */
.main-content {
  background: #ffffff;
  padding: 60px;
  border-radius: 0;
  box-shadow: none;
  border: none;
  flex: 1;
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.main-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #f5412c;
}

/* Step Sections */
.step-section {
  padding: 0;
}

.step-section h2 {
  color: #0e0e0e;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

/* Input Form */
.input-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row.single-field {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #0e0e0e;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
  font-weight: 400;
  font-family: "Articulat CF", sans-serif;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #f5412c;
  box-shadow: 0 0 0 4px rgba(245, 65, 44, 0.1);
  transform: translateY(-1px);
}

.form-group input[type="file"] {
  padding: 10px;
  cursor: pointer;
  width: 100%;
}

.format-help {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
}

.format-help strong {
  color: #0e0e0e;
  font-weight: 600;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
}

.btn-primary {
  background: #f5412c;
  color: white;
}

.btn-primary:hover {
  background: #e03a26;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 65, 44, 0.3);
}

.btn-secondary {
  background: #0e0e0e;
  color: white;
  border: 2px solid #0e0e0e;
}

.btn-secondary:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 14, 14, 0.3);
}

/* Banner Preview Styles */
.preview-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  justify-content: flex-start;
  padding: 20px 0;
}

.preview-container h2 {
  color: #0e0e0e;
  font-size: 1.8rem;
}

.banners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.banner-preview-container h3 {
  color: #0e0e0e;
  margin-bottom: 15px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.banner-preview {
  /* width: 100%;
  max-width: 100%; */
  margin: 0 auto;
  position: relative;
  /* overflow: hidden; */
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
  width: clamp(19.6875rem, -0.1092rem + 84.466vw, 101.25rem);
  overflow-x: auto;
}

/* Scale down banner preview on small screens while maintaining actual DOM dimensions */
/* The banner itself stays at 1584x396px for html2canvas capture */
.banner-preview .banner {
  transform-origin: top center;
  transition: transform 0.3s ease;
}

/* Safe Zone Indicators
 * LinkedIn banner: 1584 × 396 px
 * Safe zone: 40px margin on all sides
 * Safe zone dimensions: 1504 × 316 px (1584-80 × 396-80)
 * Display ratio: ~40px margin = 2.5% left/right, 10% top/bottom in preview
 */
.banner-preview::before {
  /* content: ""; */
  position: absolute;
  top: 5%;
  left: 2.5%;
  right: 2.5%;
  bottom: 10%;
  border: 2px dashed rgba(255, 0, 0, 0.4);
  pointer-events: none;
  z-index: 10;
  border-radius: 4px;
}

.banner-preview::after {
  /* content: "Safe Zone"; */
  position: absolute;
  top: 5.5%;
  right: 2.8%;
  padding: 2px 6px;
  background: rgba(255, 0, 0, 0.2);
  color: #ff0000;
  font-size: 0.6rem;
  font-weight: 600;
  pointer-events: none;
  z-index: 10;
  border-radius: 2px;
}

/* Generic Brand Banner */
.banner {
  width: 1584px;
  height: 396px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  /* Actual dimensions remain 1584x396 for html2canvas capture */
}

.banner-preview-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-banner {
  background: #000000;
  position: relative;
}

img.aiims_orange {
  position: absolute;
  z-index: 1;
  bottom: 0;
}

img.aiims_gray {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 0;
}

.brand-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}

.brand-logo {
  font-size: 4rem;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.brand-text-container {
  display: flex;
  align-items: baseline;
  gap: 38.49px;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-text {
  color: white;
  text-transform: uppercase;
  font-family: "TT Interphases Pro";
  font-size: 108.586px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

.brand-fearless {
  color: #f5412c;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  font-family: "Vandalord", "Brush Script MT", cursive;
  letter-spacing: 2px;
  transform: rotate(-2deg);
  font-size: 132.518px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.325px;
}

/* Personalized Banner */
/* .personal-banner inherits width: 1584px and height: 396px from .banner */

.bg_image {
  position: absolute;
  top: 0;
  z-index: 1;
}

.personal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 21% 26.5% 52.5%;
  overflow: hidden;
  z-index: 2;
}

.personal-bg.no-profile-image {
  grid-template-columns: 20% 10% 67.5%;
}

.profile-section {
  position: relative;
  overflow: hidden;
}

.profile-section img {
  width: 373px;
  height: 396px;
}

.profile-picture {
  object-fit: cover;
  object-position: center;
  /* Ensure SVG images render crisply at any size */
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  visibility: visible;
  opacity: 1;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.content-section {
  padding: 50px 37px 50px 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.aiims-tag p {
  background: #000000;
  padding: 7.5px 16.49px;
  display: inline-block;
  position: absolute;
  top: 44px;
  left: 37px;
  color: #f3f3f3;
  margin: 0;
  font-family: "TT Interphases Pro";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.4px;
}

.aiims-title {
  color: #212529;
  margin-bottom: 14px;
  font-family: "TT Interphases Pro";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.48px;
}

.position-hobby {
  font-family: "TT Interphases Pro";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.24px;
  color: #495057;
}

.positionTitle {
  border-right: 1px solid #9a9e8e;
  padding-right: 10px;
}

.hobbyNickname {
  padding-left: 10px;
}

.content-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-text {
  color: #212529;
  margin-bottom: 12px;
  max-width: 794px;
  font-family: "TT Interphases Pro";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%; /* 44px */
  letter-spacing: -1.2px;
}

.tagline {
  color: #212529;
  font-family: "TT Interphases Pro";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.4px;
}

.partner-logos {
  margin-top: auto;
  padding: 8px 0px;
}

.partner-logos-container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.partner-item {
  color: #888;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Footer Styles */
.main-footer {
  margin-top: 60px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 400;
}

.footer-text-logo {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 25px 20px;
  }

  .header-content {
    gap: 20px;
    padding: 12px 0;
    margin-bottom: 25px;
  }

  .header-title {
    font-size: 1.8rem;
  }

  .header-text h1 {
    font-size: 2rem;
  }

  .main-content {
    padding: 40px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .banners-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Ensure banners maintain fixed DOM size (for html2canvas) */
  .banner-preview {
    height: calc(396px * ((100vw - 80px) / 1584));
  }
  .banner {
    width: 1584px !important;
    height: 396px !important;
    /* Scale down visually to fit screen while maintaining actual dimensions */
    transform: scale(calc((100vw - 80px) / 1584));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .header-content {
    gap: 15px;
    padding: 10px 0;
    margin-bottom: 20px;
  }

  .header-title {
    font-size: 1.6rem;
  }

  .header-text h1 {
    font-size: 1.8rem;
  }

  .main-content {
    padding: 30px;
  }

  .content-grid {
    gap: 40px;
  }

  .banners-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Ensure banners maintain fixed DOM size (for html2canvas) */
  .banner-preview {
    height: calc(396px * ((100vw - 60px) / 1584));
  }
  .banner {
    width: 1584px !important;
    height: 396px !important;
    /* Scale down visually to fit screen while maintaining actual dimensions */
    transform: scale(calc((100vw - 60px) / 1584));
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px 10px;
  }

  .header-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 8px 0;
    margin-bottom: 15px;
  }

  .header-title {
    font-size: 1.4rem;
  }

  .header-text h1 {
    font-size: 1.6rem;
  }

  .main-content {
    padding: 20px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 16px;
  }

  /* Ensure banners maintain fixed DOM size (for html2canvas) */
  .banner-preview {
    height: calc(396px * ((100vw - 40px) / 1584));
  }
  .banner {
    width: 1584px !important;
    height: 396px !important;
    /* Scale down visually to fit screen while maintaining actual dimensions */
    transform: scale(calc((100vw - 40px) / 1584));
  }
}

/* Message Styles */
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 10px;
  border: 1px solid #c3e6cb;
  margin-top: 10px;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 10px;
  border: 1px solid #f5c6cb;
  margin-top: 10px;
}

.info-message {
  background: #d1ecf1;
  color: #0c5460;
  padding: 10px;
  border: 1px solid #bee5eb;
  margin-top: 10px;
}
