* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Page Loader Styles */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 25%,
    #334155 50%,
    #1e293b 75%,
    #0f172a 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease-out;
  visibility: visible;
  opacity: 1;
}

.page-loader.fade-out {
  opacity: 0 !important;
  pointer-events: none;
  z-index: -1;
  visibility: hidden !important;
  display: none !important;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-spinner {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(59, 130, 246, 0.2);
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.loader-spinner i {
  font-size: 2rem;
  color: #3b82f6;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
  animation: fadeInOut 1.5s ease-in-out infinite;
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
html {
  height: 100%;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 25%,
    #334155 50%,
    #1e293b 75%,
    #0f172a 100%
  ) !important;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 25%,
    #334155 50%,
    #1e293b 75%,
    #0f172a 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  height: auto;
  color: #ffffff;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(147, 51, 234, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(16, 185, 129, 0.05) 0%,
      transparent 50%
    ) !important;
  pointer-events: none;
  z-index: -1;
}
.placeholder-container .placeholder-icon {
  font-size: 46px;
}
.loadding_box {
  display: flex;
  justify-content: center;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  /* padding: 20px; */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
header {
  text-align: center;
  margin-bottom: 40px;
  color: white;
}
.sticky_btn {
  display: none;
}
.downloade_sticky {
  display: none;
}
.logo {
  max-height: 80px;
  max-width: 200px;
  height: auto;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}
header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
  background: linear-gradient(45deg, #3b82f6, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
header p {
  font-size: 1.2rem;
  opacity: 0.9;
}
.upload-section {
  width: 100%;
  max-width: 100%;
}

.upload-area {
  position: relative;
  border: 3px dashed #3b82f6;
  border-radius: 15px;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  width: 100%;
  max-width: 1440px;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.upload-area:hover {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(4, 10, 26, 0.9) 100%);
  transform: translateY(-2px);
  border-color: #3b82f6;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}
.upload-area i {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}
.upload-area p {
  font-size: 1.1rem;
}

/* Loading Overlay for Upload Area */
#loadingOverlay-upload-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
}

#loadingOverlay-upload-preview .loading-spinner {
  height: 100%;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2) 0%,
    rgba(147, 51, 234, 0.2) 100%
  );
  border-radius: 20px;
  padding: 40px 60px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  border: 2px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#loadingOverlay-upload-preview .loading-spinner i {
  font-size: 3rem;
  color: #3b82f6;
  display: block;
  animation: pulse 1.5s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

#loadingOverlay-upload-preview .loading-spinner p {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-section {
  margin-bottom: 40px;
}
.gallery-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 5px;
  font-size: 2rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-radius: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.skeleton-item {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  border-radius: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.skeleton-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: skeleton-shimmer 2s infinite;
}
.skeleton-image {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  border-radius: 12px;
  animation: skeleton-shimmer 1.5s infinite;
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
}
.skeleton-text {
  width: 100%;
  height: 12px;
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  border-radius: 6px;
  margin-bottom: 8px;
  animation: skeleton-shimmer 1.5s infinite;
  position: relative;
  z-index: 1;
}
.skeleton-text:nth-child(2) {
  width: 80%;
}
.skeleton-text:nth-child(3) {
  width: 60%;
}
.skeleton-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.skeleton-button {
  flex: 1;
  height: 35px;
  background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
  border-radius: 8px;
  animation: skeleton-shimmer 1.5s infinite;
  position: relative;
  z-index: 1;
}
@keyframes skeleton-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.gallery-grid:has(.gallery-item:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}
.gallery-grid:has(.gallery-item:only-child) .gallery-item {
  max-width: 400px;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
}
@media (min-width: 768px) {
  .main-content {
    display: flex !important;
    gap: 20px;
    align-items: flex-start;
    min-height: 600px;
    width: 100%;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
}
.main-content {
  display: flex !important;
  gap: 15px;
  align-items: flex-start !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important  ;
}

@media (min-width: 768px) {
  .gallery-section,
  .content-right {
    display: block !important;
    float: none !important;
    clear: none !important;
  }
}
.main-content::after {
  content: "";
  display: table;
  clear: both;
}
.selected-prompt-container {
  margin: 15px 0;
  min-height: 0;
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
}
.selected-prompt-container.slide-up {
  animation: slideUpFromBottom 0.5s ease-out;
}

@keyframes slideUpFromBottom {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 767px) {
  .selected-prompt-container.slide-up {
    animation: slideUpFromBottomMobile 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  @keyframes slideUpFromBottomMobile {
    0% {
      transform: translateY(100vh);
      opacity: 0;
    }
    30% {
      opacity: 0.7;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
}
@media (min-width: 768px) {
  .selected-prompt-container {
    margin: 10px 0;
  }
  .selected-prompt-container.slide-up {
    animation: slideUpFromBottom 0.6s ease-out;
  }
}
#selectedPromptDisplay {
  background: rgba(59, 130, 246, 0.9) !important;
  border: 3px solid #3b82f6 !important;
  border-radius: 10px;
  padding: 15px;
  padding-bottom: 10px;
  margin: 0;
  color: white !important;
  font-size: 0.9rem;
  line-height: 1.4;
  height: auto;
  overflow: visible;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 999;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(0);
}

#promptEditContainer {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
}

#promptEditTextarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
#selectedPromptDisplay.slide-up {
  animation: slideUpFromBottom 0.7s ease-out;
}
#selectedPromptDisplay.content-change {
  animation: fadeInContent 0.2s ease-in-out;
}
@keyframes fadeInContent {
  0% {
    opacity: 0.8;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.gallery-section {
  flex: 1;
  width: 100%;
  margin-bottom: 20px;
  padding: 15px;
  border: 2px solid #3b82f6;
  border-radius: 10px;
  height: 600px !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .gallery-section {
    width: 50% !important;
    margin-bottom: 0;
    height: 600px !important;
    overflow: hidden;
    box-sizing: border-box;
  }
}
.gallery-section h2 {
  text-align: center;
  font-size: 1.2rem;
  color: white;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .gallery-section h2 {
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 15px;
  gap: 15px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  width: 100%;
  height: 400px;
  max-height: 400px;
  box-sizing: border-box;
  transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.5) transparent;
}
.gallery-grid.prompt-selected {
  max-height: 280px;
}
.gallery-grid::-webkit-scrollbar {
  width: 6px;
}
.gallery-grid::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}
.gallery-grid::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 3px;
  transition: background 0.2s ease;
}
.gallery-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.7);
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    padding-right: 15px;
    height: auto;
    max-height: 515px;
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.5) transparent;
  }
  .gallery-grid.prompt-selected {
    max-height: 350px;
  }
}
.gallery-item {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  box-sizing: border-box;
  margin: 2px;
}
.gallery-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-right {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 15px;
  border: 2px solid #3b82f6;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .content-right {
    width: 50% !important;
    padding-left: 15px;
    height: 600px;
  }
}
.placeholder-section {
  margin-bottom: 3px;
  width: 100%;
}
.placeholder-container {
  background: rgba(59, 130, 246, 0.1);
  border-radius: 15px;
  padding: 57px 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
  height: 515px;
}
.preview-heading {
  text-align: left;
  margin-bottom: 15px;
}
@media (max-width: 767px) {
  .preview-heading {
    margin-bottom: 10px;
  }
  .sticky_btn {
    display: block !important;
  }
  .downloade_sticky {
    display: block;
    justify-content: center;
    display: flex;
  }
  .maindownload_sticky {
    display: none;
    justify-content: center;
    position: fixed;
    bottom: 26px;
    gap: 10px;
    z-index: 9999;
  }
  .mobile_sticky {
    display: flex;
    justify-content: center;
  }
  .mobile_sticky .sticky {
    position: fixed;
    bottom: 27px;
    z-index: 9999;
  }
  .placeholder-container {
    margin-top: 10px;
    height: 498px;
  }
  .upload-section {
    margin-bottom: 10px;
  }
}
.placeholder-icon {
  font-size: 4rem;
  color: #ffff;
  margin-bottom: 20px;
  opacity: 0.7;
}
.placeholder-container h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}
.placeholder-container p {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 300px;
}
.placeholder-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 250px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}
.feature-item:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateX(5px);
}
.feature-item i {
  color: #3b82f6;
  font-size: 1.2rem;
  width: 20px;
}
.feature-item span {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
}
.selected-image-section,
.result-section {
  margin-bottom: 20px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.selected-image-container,
.result-container {
  max-width: 100%;
  width: 100%;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 15px;
  padding: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  flex: 1;
}
.result-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.selected-image-container img,
.result-container img {
  max-width: 100%;
  max-height: 250px;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 15px;
  object-fit: contain;
}
.gallery-grid::-webkit-scrollbar,
.content-right::-webkit-scrollbar {
  width: 2px;
}
.gallery-grid::-webkit-scrollbar-track,
.content-right::-webkit-scrollbar-track {
  background: rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  margin: 6px;
}
.gallery-grid::-webkit-scrollbar-thumb,
.content-right::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.8);
  border-radius: 8px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  min-height: 40px;
}
.gallery-grid::-webkit-scrollbar-thumb:hover,
.content-right::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 1);
  border: 2px solid rgba(59, 130, 246, 0.5);
}
.gallery-grid::-webkit-scrollbar-thumb:active,
.content-right::-webkit-scrollbar-thumb:active {
  background: rgba(59, 130, 246, 1);
  border: 2px solid rgba(59, 130, 246, 0.7);
}
.gallery-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.8) rgba(59, 130, 246, 0.2);
}
.gallery-item .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;
}
.gallery-item:hover .overlay {
  opacity: 1;
}
.gallery-item .overlay i {
  color: white;
  font-size: 2rem;
}
.selected-image-section,
.result-section {
  margin-bottom: 40px;
  text-align: center;
}
.selected-image-section h2,
.result-section h2 {
  color: white;
  margin-bottom: 12px;
  font-size: 1.4rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}
.selected-image-container,
.result-container {
  background: rgba(59, 130, 246, 0.1);
  border-radius: 15px;
  padding: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: inline-block;
  border: 1px solid rgba(59, 130, 246, 0.3);
  max-width: 400px;
}
.selected-image-container img,
.result-container img {
  max-width: 100%;
  max-height: 250px;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}
.enhancement-preview {
  background: rgba(59, 130, 246, 0.15);
  border: 2px solid #3b82f6;
  border-radius: 10px;
  padding: 5px 15px;
  margin: 15px 0;
  text-align: left;
}
.enhancement-preview h3 {
  color: #3b82f6;
  /* margin: 0 0 10px 0; */
  font-size: 1.1rem;
}
.enhancement-preview p {
  color: #ffffff;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
.image-actions,
.result-actions {
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 250px;
  justify-content: center;
}
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  font-weight: bold;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #3b82f6, #6032cc);
}
.btn-secondary {
  background: linear-gradient(45deg, #64748b, #475569);
  color: white;
  border: 1px solid rgba(100, 116, 139, 0.3);
  box-shadow: 0 4px 15px rgba(100, 116, 139, 0.2);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
  background: linear-gradient(45deg, #475569, #334155);
}
.btn-success {
  background: linear-gradient(45deg, #10b981, #059669);
  color: #ffffff;
  font-weight: bold;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  background: linear-gradient(45deg, #059669, #047857);
}
.btn-info {
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  font-weight: bold;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}
.btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: linear-gradient(45deg, #1d4ed8, #1e40af);
}
.loading-section {
  text-align: center;
  /* margin: 40px 0; */
  position: relative;
}
.loading-spinner {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(147, 51, 234, 0.15) 100%
  );
  border-radius: 20px;
  padding: 127px 40px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  display: inline-block;
  border: 2px solid rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
  min-width: 300px;
  width: 100%;
}
.loading-spinner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.loading-spinner i {
  font-size: 4rem;
  color: #3b82f6;
  display: block;
  animation: pulse 1.5s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  text-align: center;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
.loading-spinner p {
  text-align: center;
  color: white;
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding-top: 10px;
}
.loading-steps {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.loading-step {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  opacity: 0;
  margin-bottom: 15px;
  animation: fadeInStep 0.5s ease-in-out forwards;
}
.loading-step:nth-child(1) {
  animation-delay: 0.5s;
}
.loading-step:nth-child(2) {
  animation-delay: 1s;
}
.loading-step:nth-child(3) {
  animation-delay: 1.5s;
}
@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.loading-step i {
  font-size: 1rem;
  color: #10b981;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .main-content {
    gap: 15px;
    margin-top: 30px;
  }
  .gallery-section {
    width: 50%;
  }
  .content-right {
    width: 50%;
    height: 600px;
  }
  .gallery-grid {
    max-height: 500px;
  }
  .gallery-grid:has(.gallery-item:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .gallery-grid:has(.gallery-item:only-child) .gallery-item {
    max-width: 350px;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }
  .gallery-section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
}
@media (max-width: 767px) {
  body {
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .main-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
    align-items: stretch;
  }
  .gallery-section {
    width: 100% !important;
    margin-bottom: 0;
    order: 2;
    flex: none;
    padding: 0;
    border: none;
    height: 500px !important;
  }
  .content-right {
    width: 100% !important;
    order: 1;
    flex: none;
    padding: 0;
    border: none;
  }
  .gallery-grid::-webkit-scrollbar,
  .content-right::-webkit-scrollbar {
    display: none;
  }
  .gallery-grid {
    scrollbar-width: none;
  }
  .gallery-section h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 20px;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
    overflow-y: visible;
  }
  .gallery-grid:has(.gallery-item:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 20px;
  }
  .gallery-grid:has(.gallery-item:only-child) .gallery-item {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    max-height: 300px;
  }
  .gallery-grid:has(.gallery-item:only-child) .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
  .gallery-item {
    height: 140px;
    aspect-ratio: 3/4;
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .container {
    padding: 1px;
  }
  .logo {
    max-height: 60px;
    max-width: 150px;
  }
  header h1 {
    font-size: 1.2rem;
  }
  header p {
    font-size: 1rem;
  }
  .upload-area {
    padding: 40px 15px;
    margin-top: 20px !important;
  }
  .upload-area i {
    font-size: 2rem;
  }
  #loadingOverlay-upload-preview .loading-spinner {
    padding: 30px 40px;
    max-width: 90%;
  }
  #loadingOverlay-upload-preview .loading-spinner i {
    font-size: 2.5rem;
  }
  #loadingOverlay-upload-preview .loading-spinner p {
    font-size: 1rem;
  }
  .image-actions,
  .result-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .btn {
    width: 100%;
    /* max-width: 150px; */
    justify-content: center;
  }
  .result-container img {
    max-height: 70vh;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
  @media (max-width: 767px) {
    .result-container img {
      max-height: 80vh;
      width: 100%;
      object-fit: cover;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    .result-container {
      padding: 15px;
      text-align: center;
    }
  }
  @media (min-width: 768px) and (max-width: 1024px) {
    .result-container img {
      max-height: 60vh;
      width: 100%;
      object-fit: cover;
      border-radius: 12px;
    }
  }
  @media (min-width: 1025px) {
    .result-container img {
      max-height: 70vh;
      width: 100%;
      object-fit: contain;
      border-radius: 10px;
    }
  }
  .selected-image-container,
  .result-container {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px;
    padding-left: 7px;
  }
  .gallery-item {
    height: 120px;
    aspect-ratio: 3/4;
  }
  .preview-heading {
    margin-bottom: 20px;
    text-align: center;
  }
  .upload-area {
    padding: 30px 10px;
  }
  .upload-area p {
    font-size: 1rem;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.selected-image-section,
.result-section,
.loading-section {
  animation: fadeIn 0.5s ease;
}
.skeleton-loader-section {
  margin-bottom: 20px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.skeleton-container {
  max-width: 100%;
  width: 100%;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 15px;
  padding: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.skeleton-image {
  width: 100%;
  height: 200px;
  background: rgba(226, 232, 240, 0.3);
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.skeleton-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.3),
    rgba(255, 255, 255, 0.6),
    rgba(59, 130, 246, 0.3),
    transparent
  );
  animation: shimmer 1.5s infinite;
}
.skeleton-content {
  margin-bottom: 20px;
}
.skeleton-line {
  height: 16px;
  background: rgba(226, 232, 240, 0.6);
  border-radius: 8px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.skeleton-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.3),
    rgba(255, 255, 255, 0.6),
    rgba(59, 130, 246, 0.3),
    transparent
  );
  animation: shimmer 1.5s infinite;
}
.skeleton-title {
  width: 60%;
  height: 20px;
}
.skeleton-text {
  width: 100%;
  height: 14px;
}
.skeleton-text.short {
  width: 80%;
}
.skeleton-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.skeleton-button {
  width: 120px;
  height: 40px;
  background: rgba(226, 232, 240, 0.6);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.skeleton-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
@media (min-width: 768px) {
  .skeleton-image {
    height: 250px;
  }
  .skeleton-button {
    width: 140px;
    height: 45px;
  }
}
.upload-area:focus,
button:focus,
.gallery-item:focus {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  transition: all 0.2s ease;
}
.upload-area:focus-visible,
button:focus-visible,
.gallery-item:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #3b82f6;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 6px;
}
.keyboard-shortcut {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 8px;
}
.postion_replace {
  position: relative;
  display: inline-block;
}
#selectedImage {
  width: 100%;
  height: auto;
  position: relative;
}
.replace {
  position: absolute;
  top: 10px;
  cursor: pointer;
  right: 10px;
  z-index: 10;
  border-radius: 50%;
  padding: 5px;
}
@media (prefers-contrast: high) {
  .gallery-item:focus,
  .upload-area:focus,
  button:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #000000;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item:focus,
  .upload-area:focus,
  button:focus {
    transform: none;
    transition: none;
  }
}
.selected-image-section {
  position: relative;
}
@media (min-width: 769px) {
  .maindownload_sticky {
    display: none !important;
  }
  .downloade_sticky {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #downloadBtn {
    /* display: none !important; */
  }
  #shareBtn {
    /* display: none !important; */
  }
  .maindownload_sticky {
    justify-content: center !important;
    align-items: center !important;
  }
  .downloade_sticky {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}
.loading-heading-process {
  text-align: left;
  padding-bottom: 13px;
}
@media (max-width: 768px) {
  .loading-heading-process {
    text-align: center;
  }
  .loading-spinner {
    padding: 50px 40px;
  }
  .content-right {
    overflow: auto;
    overflow-x: hidden;
  }
  .main-selected-image-container {
    padding: 0;
    border: none;
  }
  .generateImageBtnOnMobile {
    max-width: 250px;
  }
}

/* Gallery Selected Prompt Styles */
.selected-prompt-container {
  flex: 1;
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Gallery page specific styles */
.gallery-section {
  margin-bottom: 40px;
}

.gallery-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 15px;
  border: 2px solid rgba(59, 130, 246, 0.3);
}

/* Initial Gallery Section */
#initialGallerySection {
  display: block !important;
  width: 100%;
}

#selectedLayoutSection {
  display: none !important;
}

#selectedLayoutSection.show {
  display: flex !important;
}

#initialGallerySection.hide {
  display: none !important;
}

.gallery-grid.vertical-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-radius: 15px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  height: 100%;
  overflow-y: auto;
  min-height: 560px;
}

.gallery-item.vertical-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  height: 190px;
  text-align: center;
}

.gallery-item.vertical-item:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.gallery-item.vertical-item.selected {
  background: rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.gallery-item.vertical-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.gallery-item.vertical-item .item-info {
  display: none;
}

/* Selected Style Section */
.selected-style-section {
  margin-top: 0;
  padding: 20px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-radius: 15px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.selected-style-section h2 {
  margin-bottom: 20px;
  text-align: center;
  flex-shrink: 0;
}

.selected-style-info {
  text-align: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.selected-style-info h3 {
  color: white;
  font-size: 1.5rem;
  margin: 0;
}

.selected-style-main-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.selected-style-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  max-height: 500px;
}

/* Two-column layout for gallery */
.gallery-main-layout {
  display: none;
  height: 80vh;
}

.gallery-main-layout.show {
  display: flex;
}

#initialGallerySection.hide {
  display: none;
}

.gallery-left-column {
  flex: 0 0 300px;
  height: 80vh;
  padding-right: 15px;
  display: flex;
  flex-direction: column;
}

.gallery-right-column {
  flex: 1;
  height: 559px !important;
  display: flex;
  flex-direction: column;
}

.gallery-right-column .section-title {
  margin-bottom: 10px;
  text-align: center;
  color: white;
  font-size: 1.8rem;
}

.gallery-right-column .selected-style-info {
  text-align: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.selected-style-image {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  max-width: 350px;
  max-height: 350px;
  margin: 0 auto;
}

.selected-style-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.style-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #10b981, #059669);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.selected-style-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.selected-style-info h3 {
  color: white;
  font-size: 1.5rem;
  margin: 0;
}

/* Action Buttons at Bottom */
.selected-style-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 20px;
  border-radius: 15px;
  margin-top: auto;
  flex-shrink: 0;
}

/* Style Modal Styles */
.style-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.style-modal .modal-content {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  margin: 5% auto;
  padding: 0;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.style-modal .modal-header {
  padding: 20px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.style-modal .modal-header h3 {
  color: white;
  margin: 0;
  font-size: 1.5rem;
}

.style-modal .close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.style-modal .close-btn:hover {
  background-color: rgba(239, 68, 68, 0.2);
}

.style-modal .modal-body {
  padding: 20px;
}

.style-modal .modal-image {
  text-align: center;
  margin-bottom: 20px;
}

.style-modal .modal-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.style-modal .modal-info {
  color: white;
}

.style-modal .modal-info p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.style-modal .modal-details {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.style-modal .detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.style-modal .detail-item i {
  color: #3b82f6;
}

.style-modal .modal-footer {
  padding: 20px;
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  text-align: center;
}

/* Mobile responsive for gallery */
@media (max-width: 768px) {
  .gallery-grid {
    height: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
  #initialGallerySection {
    width: 100% !important;
    max-width: 100% !important;
  }
  .gallery-left-column {
    display: none;
  }
  .gallery-main-layout {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  .gallery-left-column {
    flex: none;
    height: 300px;
  }

  .gallery-grid.vertical-list {
    grid-template-columns: 1fr;
    min-height: 250px;
  }

  .gallery-item.vertical-item {
    height: 140px;
    padding: 5px;
  }

  .gallery-item.vertical-item img {
    width: 100%;
    height: 130px;
  }

  .gallery-right-column {
    flex: none;
    height: auto;
    padding: 0px;
  }

  .gallery-grid.vertical-list {
    height: 100%;
  }

  .gallery-item.vertical-item {
    height: 120px;
    padding: 5px;
  }

  .gallery-item.vertical-item img {
    width: 100%;
    height: 110px;
  }

  .selected-style-section {
    padding: 15px;
    margin-top: 0;
  }

  .selected-style-main-content {
    flex-direction: column;
    gap: 15px;
  }

  .selected-prompt-container {
    height: auto;
  }

  .selected-style-image {
    max-width: 100%;
    max-height: 350px !important;
  }

  .selected-style-image img {
    height: 200px;
    border-radius: 15px;
  }

  .selected-prompt-display {
    border-radius: 0 0 12px 12px;
  }

  .selected-style-info h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  .selected-style-actions {
    flex-direction: row;
    gap: 12px;
    padding: 0px;
    position: sticky;
    bottom: 70px;
    /* margin-top: 15px; */
  }

  .selected-style-actions .btn {
    max-width: none;
    width: 100%;
  }
  .page-header {
    margin-bottom: 20px !important;
  }
  .style-container {
    border: none !important;
    /* background: none !important; */
  }
  #selectedPromptContainer{
    z-index: 99 !important;
  }
  .selected-style-actions{
    z-index: 99 !important;
  }
}

@media (max-width: 480px) {
  .selected-style-section {
    padding: 0px 15px 15px 15px;
    margin-top: 0px;
  }

  .selected-style-main-content {
    flex-direction: column;
    gap: 15px;
  }

  .selected-prompt-container {
    height: auto;
    padding: 0px;
  }

  .selected-style-image {
    max-height: 200px;
  }

  .selected-style-image img {
    height: auto;
  }

  .selected-style-info h3 {
    font-size: 1.2rem;
  }

  .selected-style-actions {
    gap: 10px;
    padding-top: 0px;
  }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .style-modal .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 85vh;
  }

  .style-modal .modal-header {
    padding: 15px;
  }

  .style-modal .modal-header h3 {
    font-size: 1.3rem;
  }

  .style-modal .modal-body {
    padding: 15px;
  }

  .style-modal .modal-footer {
    padding: 15px;
  }

  .style-modal .modal-details {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .style-modal .modal-content {
    width: 98%;
    margin: 5% auto;
    max-height: 90vh;
  }

  .style-modal .modal-header {
    padding: 12px;
  }

  .style-modal .modal-header h3 {
    font-size: 1.2rem;
  }

  .style-modal .modal-body {
    padding: 12px;
  }

  .style-modal .modal-footer {
    padding: 12px;
  }
}

.selected-prompt-display {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  border: 1px solid #3b82f6;
  border-radius: 0 0 15px 15px;
  border-top: none;
  padding: 12px;
  color: white;
  font-size: 0.85rem;
  line-height: 1.3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
}

.selected-prompt-display::-webkit-scrollbar {
  width: 4px;
}

.selected-prompt-display::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.selected-prompt-display::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.selected-prompt-display::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Multi-page Navigation Styles */
.main-navigation {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
  position: sticky;
  top: -1;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 60px;
  width: auto;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3b82f6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-link.active {
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-link.completed {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.nav-link i {
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-7px, -7px);
}

/* Page Header Styles */
.page-header {
  text-align: center;
  margin-bottom: 0px;
  color: white;
}


.page-header h1 {
  font-size: 26px;
  margin-bottom: 10px;
  text-shadow: none;
  background: linear-gradient(45deg, #3b82f6, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* Hero Section Styles */
.hero-section {
  text-align: center;
  margin-bottom: 20px;
  color: white;
}

.hero-content {
  max-width: 1440px;
  margin: 0 auto;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 20px 0;
}

.feature-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
  font-size: 3rem;
  color: #3b82f6;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  position: sticky;
  bottom: 20px;
  z-index: 1000;
  /* background: rgba(15, 23, 42, 0.9);  */
  /* backdrop-filter: blur(10px); */
  padding: 20px;
  border-radius: 15px;
  /* border: 1px solid rgba(59, 130, 246, 0.3); */
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); */
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

.how-it-works {
  margin: 0 auto;
}
.how-it-works h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 0px;
  color: white;
}

/* Desktop Slider Layout - Show 4 at a time */
.steps-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto 0;
}

.steps-container {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  cursor: grab;
  user-select: none;
}

.steps-container.dragging {
  transition: none;
  cursor: grabbing;
}

.step {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  margin-top: 50px;
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
  max-width: 350px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.step-content {
  width: 100%;
}

/* Slider Dots - Hidden on Desktop */
.slider-dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover {
  background: rgba(59, 130, 246, 0.5);
  transform: scale(1.2);
}

.slider-dot.active {
  background: #3b82f6;
  width: 30px;
  border-radius: 6px;
}

.step-number {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
  z-index: 10;
  border: 3px solid rgba(59, 130, 246, 0.3);
}

.step-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 15px 0;
  color: #ffffff;
}

.step-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.step-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.step-link:hover {
  color: #1d4ed8;
  transform: translateX(5px);
}

/* Features Section */
.features-section {
  margin: 60px 0;
}

.features-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* CTA Section */
.cta-section {
  /* margin: 60px 0; */
  text-align: center;
}

.cta-content {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2) 0%,
    rgba(147, 51, 234, 0.2) 100%
  );
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 50px 30px;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

/* Section Titles */
.section-title {
  color: white;
  /* text-align: center; */
  font-size: 2rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100vw;
    top: 50px;
    flex-direction: column;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    width: 100vw;
    max-width: 100vw;
    height: 100vw;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    margin: 0;
    z-index: 999;
    height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    padding: 15px 20px;
    margin: 0px 20px;
    border-radius: 10px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    position: sticky;
    bottom: 70px;
    margin-top: 20px;
    padding: 15px;
    gap: 15px;
  }

  /* Mobile Slider Layout - Show 1 at a time */
  .steps-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0px auto 0;
    display: flex;
    justify-content: center;
    
  }

  .steps-container {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    cursor: grab;
    user-select: none;
    width: 100%;
    max-width: 350px;
  }
  .footer-content{
    border-bottom: none !important;
  }

  .steps-container.dragging {
    transition: none;
    cursor: grabbing;
  }

  .step {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 50px;
    flex: 0 0 350px;
    min-width: 350px;
    max-width: 350px;
    width: 350px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .step:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
  }
  
  .step-content {
    width: 100%;
  }
  
  .step-number {
    top: -35px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  /* Show dots on mobile */
  .slider-dots {
    display: flex;
  }

  .step-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .step-content p {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .step-link {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

/* Medium screens - 2x2 grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .steps-slider-wrapper {
    margin: 35px auto 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .section-title {
    font-size: 1.5rem;
  }
}

/* Animated border for generateImageBtnOnMobile */
.generateImageBtnOnMobile {
  position: relative;
  overflow: hidden;
}

.generateImageBtnOnMobile span:nth-child(1) {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #171618, #3b82f6);
  animation: animate1 2s linear infinite;
}

@keyframes animate1 {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.generateImageBtnOnMobile span:nth-child(2) {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, #171618, #3b82f6);
  animation: animate2 2s linear infinite;
  animation-delay: 1s;
}

@keyframes animate2 {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.generateImageBtnOnMobile span:nth-child(3) {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to left, #171618, #ffffff);
  animation: animate3 2s linear infinite;
}

@keyframes animate3 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Upload Tips Styling - How It Works Style */

.upload-tips {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.upload-tips h3 {
  text-align: center;
  color: white;
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Desktop Grid Layout */
.tips-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1440px;
  margin: 0 auto;
  justify-content: center;
}

.tip-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.tip-number {
  margin-left: auto;
  margin-right: auto;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.tip-card h4 {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.tip-card p {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 1rem;
}

.tip-btn {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  display: none;
}

.tip-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #6032cc);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.tip-btn i {
  font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* .upload-tips {
    padding: 40px 15px;
  } */

  .upload-tips h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  /* Mobile Tips Slider Layout */
  .tips-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
  }

  .tips-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
  }

  .tip-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
    min-width: 100%;
    opacity: 0;
    transform: scale(0.9);
    display: none;
    margin-top: 30px;
  }

  .tip-card.active {
    opacity: 1;
    transform: scale(1);
    display: block;
  }

  .tip-card.active:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  }

  .tip-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    z-index: 10;
  }

  .tip-card h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 35px 0 15px 0;
  }

  /* Show dots on mobile */
  .tips-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
  }

  .tip-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .tip-card p {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .tip-btn {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .tip-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .tip-card h4 {
    font-size: 1.3rem;
  }
}

/* Upload Preview Styling */
.upload-preview {
  margin-top: 0px;
  text-align: center;
}

/* Video Gallery Styling */
.loading-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.animation-container {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lottie-animation {
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-section h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.loading-section p {
  color: #b0b0b0;
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
}

.video-gallery-section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 25px;
  background: rgba(59, 130, 246, 0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.search-input::placeholder {
  color: #b0b0b0;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #3b82f6;
  font-size: 1.1rem;
}

.filter-container {
  min-width: 200px;
}

.filter-select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 25px;
  background: rgba(59, 130, 246, 0.1);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.filter-select option {
  background: #1e293b;
  color: white;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
  justify-items: center;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.video-card {
  background: rgba(59, 130, 246, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.3);
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay i {
  color: white;
  font-size: 1.5rem;
  margin-left: 3px;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.video-views {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-title-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-info {
  padding: 20px;
}

.video-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.video-description {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.video-category {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: capitalize;
}

.video-date {
  color: #888;
  font-size: 0.8rem;
}

.video-actions {
  padding: 0 20px 20px;
  display: flex;
  gap: 8px;
}

.video-actions .btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.video-actions .btn:hover {
  transform: translateY(-2px);
}

.load-more-container {
  text-align: center;
  margin-top: 40px;
}

.load-more-container .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.load-more-container .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.no-videos-message {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  flex-direction: column;
  text-align: center;
}

.no-videos-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 60px 20px;
  text-align: center;
  margin: 0 auto;
}

.no-videos-section .animation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.no-videos-section .lottie-animation {
  width: 300px;
  height: 300px;
  margin-bottom: 30px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  /* background: rgba(255, 255, 255, 0.1); */
  border-radius: 10px;
  /* border: 2px dashed rgba(255, 255, 255, 0.3); */
  position: relative;
}

.fallback-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
}

.robot-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

.loading-dots {
  display: flex;
  gap: 8px;
}

.loading-dots span {
  width: 12px;
  height: 12px;
  background: #3b82f6;
  border-radius: 50%;
  animation: pulse 1.5s infinite ease-in-out;
}

.loading-dots span:nth-child(1) {
  animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.3s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.no-videos-section h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  text-align: center;
}

.no-videos-section p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  text-align: center;
  max-width: 500px;
}

@media (max-width: 768px) {
  .no-videos-section {
    padding: 40px 15px;
    min-height: 50vh;
  }

  .no-videos-section .lottie-animation {
    width: 250px;
    height: 250px;
    margin-bottom: 20px;
  }

  .no-videos-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .no-videos-section p {
    font-size: 14px;
  }
}

.no-videos-message .lottie-animation {
  width: 250px;
  height: 250px;
  margin-bottom: 30px;
}

.no-videos-message h3 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.no-videos-message p {
  color: #b0b0b0;
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 500px;
}

.message-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.message-actions .btn {
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.message-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Video Modal Styling */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.modal-content {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 15px;
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 25px;
}

.video-container {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-container video {
  width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
}

.video-info {
  color: white;
}

.video-info p {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 15px;
}

.video-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.video-meta span {
  color: #888;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-footer {
  padding: 20px 25px;
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.modal-footer .btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modal-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.loading-overlay .loading-spinner {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2) 0%,
    rgba(147, 51, 234, 0.2) 100%
  );
  border-radius: 20px;
  padding: 50px 70px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 2px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  min-width: 350px;
  max-width: 450px;
  text-align: center;
}

.loading-overlay .loading-spinner i {
  font-size: 4rem;
  color: #3b82f6;
  display: block;
  animation: pulse 1.5s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.loading-overlay .loading-spinner p {
  color: white;
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.loading-overlay .lottie-animation {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
}

/* Mobile Responsiveness for Loading Overlay */
@media (max-width: 768px) {
  .loading-overlay {
    background: rgba(15, 23, 42, 0.95);
  }

  .loading-overlay .loading-spinner {
    padding: 40px 35px;
    min-width: 280px;
    max-width: 85%;
    width: auto;
    gap: 15px;
  }

  .loading-overlay .loading-spinner i {
    font-size: 3.5rem;
  }

  .loading-overlay .loading-spinner p {
    font-size: 1.2rem;
    font-weight: 600;
  }

  .progress-container {
    width: 100%;
    margin: 10px 0;
  }

  .progress-bar {
    height: 10px;
  }

  .progress-text {
    font-size: 16px;
    font-weight: 600;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .loading-overlay .loading-spinner {
    padding: 35px 25px;
    min-width: 260px;
    max-width: 90%;
  }

  .loading-overlay .loading-spinner i {
    font-size: 3rem;
  }

  .loading-overlay .loading-spinner p {
    font-size: 1.1rem;
  }

  .progress-text {
    font-size: 14px;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .loading-section {
    padding: 20px;
    text-align: center;
  }

  .animation-container {
    max-width: 100%;
    padding: 0 20px;
  }

  .loading-section h3 {
    font-size: 1.8rem;
    text-align: center;
  }

  .loading-section p {
    font-size: 1rem;
    text-align: center;
  }

  .gallery-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container {
    max-width: none;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto 40px;
  }

  .video-actions {
    flex-direction: column;
  }

  .video-actions .btn {
    width: 100%;
  }

  .modal-content {
    width: 98%;
    max-height: 95vh;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 15px;
  }

  .video-meta {
    flex-direction: column;
    gap: 10px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
  }

  .message-actions {
    flex-direction: column;
    align-items: center;
  }

  .message-actions .btn {
    width: 100%;
    max-width: 250px;
  }
}

.upload-preview h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.preview-container {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  /* border: 2px solid rgba(59, 130, 246, 0.3); */
  border-radius: 20px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.preview-image-container {
  padding-top: 40px;
}
.preview-container img {
  max-width: 100%;
  max-height: 450px;
  width: auto;
  height: auto;
  border-radius: 15px;
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); */
  object-fit: contain;
  /* border: 2px solid rgba(255, 255, 255, 0.1); */
}

.preview-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  /* flex-wrap: wrap; */
  position: sticky;
  bottom: 20px;
  z-index: 1000;
  /* background: rgba(15, 23, 42, 0.9); */
  /* backdrop-filter: blur(10px); */
  padding: 20px;
  border-radius: 15px;
  /* border: 1px solid rgba(59, 130, 246, 0.3); */
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); */
  margin-top: 20px;
}

.preview-actions .btn {
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  justify-content: center;
}

.preview-actions .btn-secondary {
  background: rgba(107, 114, 128, 0.8);
  color: white;
  border: 1px solid rgba(107, 114, 128, 0.5);
}

.preview-actions .btn-secondary:hover {
  background: rgba(107, 114, 128, 1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(107, 114, 128, 0.4);
}

.preview-actions .btn-primary {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
}

.preview-actions .btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #6032cc);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.preview-actions .btn i {
  font-size: 0.9rem;
}

/* Mobile Responsiveness for Upload Preview */
@media (max-width: 768px) {
  .upload-preview {
    margin-bottom: 0px;
  }

  .upload-preview h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .preview-container {
    max-width: 100%;
    margin-bottom: 0 !important;
    /* padding-bottom: 20px !important; */
  }

  .preview-actions {
    gap: 10px;
    position: sticky;
    bottom: 70px;
    padding: 15px;
    margin-top: 15px;
  }

  .preview-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 270px;
  }
}

.generateImageBtnOnMobile span:nth-child(4) {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to top, #171618, #ffffff);
  animation: animate4 2s linear infinite;
  animation-delay: 1s;
}

@keyframes animate4 {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Preview Page - Simple Layout */
.preview-main {
  padding: 0px 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.preview-container {
  margin-bottom: 40px;
  width: 100%;
}

.preview-section {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 15px;
  padding: 30px;
}

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

/* Image Section */
.image-section h3,
.style-section h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
  text-align: center;
}

.image-container,
.style-container {
  background: rgba(255, 255, 255, 0.05);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  border-radius: 15px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* No State Messages */
.no-image-state,
.no-style-state {
  text-align: center;
  color: #b0b0b0;
  padding: 10px 0px;
}

.no-image-state i,
.no-style-state i {
  font-size: 3rem;
  color: #3b82f6;
  margin-bottom: 15px;
  display: block;
}

.no-image-state p,
.no-style-state p {
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Image Preview - FULL SCREEN SIZE */
.image-preview {
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-preview img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

/* Selected Style - FULL SCREEN SIZE */
.selected-style {
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.selected-style img {
  max-width: 100%;
  max-height: 70%;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.style-info h4 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.style-info p {
  color: #b0b0b0;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 300px;
  margin: 0 auto;
}

.image-info h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.image-details {
  color: #b0b0b0;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* No Image/Style Messages */
.no-image-message,
.no-style-message {
  text-align: center;
  padding: 40px 20px;
  color: #b0b0b0;
}

.no-image-message i,
.no-style-message i {
  font-size: 3rem;
  color: #3b82f6;
  margin-bottom: 20px;
  display: block;
}

.no-image-message h3,
.no-style-message h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.no-image-message p,
.no-style-message p {
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Preview Page - Selected Style Preview (More Specific) */
.preview-layout .selected-style-preview {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 15px;
  padding: 25px;
}

.preview-layout .selected-style-content {
  text-align: center;
}

.preview-layout .selected-style-image {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.preview-layout .selected-style-image img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.preview-layout .style-tick {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.preview-layout .selected-style-info h4 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.preview-layout .selected-style-info p {
  color: #b0b0b0;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Preview Page - Selected Prompt Section (More Specific) */
.preview-layout .selected-prompt-section {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
}

.preview-layout .prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.preview-layout .prompt-header h5 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.preview-layout .copy-btn {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 5px;
  color: #3b82f6;
  padding: 5px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.preview-layout .copy-btn:hover {
  background: rgba(59, 130, 246, 0.3);
  transform: scale(1.05);
}

.preview-layout .prompt-content {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 12px;
}

.preview-layout .prompt-content p {
  color: #e0e0e0;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  font-family: "Courier New", monospace;
}

/* Preview Page - Action Buttons (More Specific) */
.preview-layout .image-actions,
.preview-layout .style-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.preview-layout .image-actions .btn,
.preview-layout .style-actions .btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  justify-content: center;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: none;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

/* Preview Actions Section - Bigger */
.preview-actions {
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin-top: 0px;
}

.actions-container {
  display: flex;
  gap: 15px;
  justify-content: space-around;
  /* flex-wrap: wrap; */
  margin-top: 0px;
  position: sticky;
  bottom: 20px;
  z-index: 1000;
  /* background: rgba(15, 23, 42, 0.9); */
  /* backdrop-filter: blur(10px); */
  padding: 20px;
  border-radius: 15px;
  /* border: 1px solid rgba(59, 130, 246, 0.3); */
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); */
}
#cancelBtn,
#proceedToGenerate {
  padding: 10px 10px !important;
  font-size: 1.1rem !important;
  max-width: 300px !important;
  height: auto !important;
  max-height: 50px !important;
}

.actions-container .btn {
  padding: 20px 40px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-large {
  font-size: 1.3rem;
  max-width: 300px;
}

.btn-create {
  border: 2px solid rgb(255, 255, 255);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .preview-main {
    padding: 3px;
  }
  .preview-image-container {
    padding: 10px;
  }

  .preview-section {
    padding: 10px;
  }

  .preview-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .actions-container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: sticky;
    bottom: 70px;
    padding: 5px;
    margin-top: 15px;
    flex-wrap: nowrap;
  }

  .actions-container .btn {
    flex: 1;
    min-width: 0;
    max-width: none;
    height: 50px;
    padding: 12px 8px;
    font-size: 1rem;
  }
  .preview-actions {
    padding: 0 !important;
    margin-top: 15 !important;
    text-align: center !important;
  }
}

/* Results Page - Generated Image Display */
#generatedImage,
#mainGeneratedImage {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block !important;
  object-fit: contain;
  border-radius: 12px;
}

.results-section .selected-style img {
  max-height: none !important;
  width: 100%;
  height: auto;
}

/* Category Filter Section */
.category-filter-section {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.filter-title {
  color: white;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.filter-btn {
  background: rgba(59, 130, 246, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.5);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 44px;
  white-space: nowrap;
}

.filter-btn:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.filter-btn.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-color: #3b82f6;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.filter-btn i {
  font-size: 0.9rem;
  opacity: 0.8;
}

.filter-btn.active i {
  opacity: 1;
}

/* Responsive adjustments for filter buttons */
@media (max-width: 768px) {
  .category-filters {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.5) transparent;
    padding: 10px;
  }

  .category-filters::-webkit-scrollbar {
    height: 4px;
  }

  .category-filters::-webkit-scrollbar-track {
    background: transparent;
  }

  .category-filters::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 2px;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
    min-height: 40px;
  }

  .filter-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
}

/* Category Swiper Section */
.category-slider-section {
  width: 100%;
  margin-bottom: 0px;
  padding: 30px 20px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  height: 400px;
  margin-bottom: 20px;
  
}

.slider-title {
  color: white;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.category-swiper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 0;
}

.category-swiper .swiper-slide {
  width: 200px;
  height: 250px;
}

.category-slide {
  min-width: 200px;
  width: 200px;
  height: 250px;
  background: rgba(59, 130, 246, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Ensure images are above background */
.category-slide > img {
  position: relative !important;
  z-index: 10 !important;
  background: transparent !important;
}

.category-slide:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.category-slide.active {
  border-color: #3b82f6;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.3) 0%,
    rgba(29, 78, 216, 0.3) 100%
  );
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5);
  transform: translateY(-3px);
}

.category-slide-image {
  width: 100% !important;
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  object-fit: cover !important;
  border-radius: 10px 10px 0 0 !important;
  transition: transform 0.3s ease;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 10 !important;
  background: transparent !important;
  pointer-events: auto !important;
}

/* .category-slide:hover .category-slide-image {
  transform: scale(1.05);
} */

.category-slide-content {
  padding: 15px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-slide-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.category-slide-count {
  font-size: 0.8rem;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.9);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  border: 2px solid rgba(59, 130, 246, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #3b82f6;
  border-color: #3b82f6;
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(59, 130, 246, 0.6);
  transform: scale(1.1);
}

/* Swiper Navigation Buttons */
.category-swiper .swiper-button-next,
.category-swiper .swiper-button-prev {
  background: rgba(59, 130, 246, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #ffffff;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.category-swiper .swiper-button-next:hover,
.category-swiper .swiper-button-prev:hover {
  background: rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.8);
  transform: scale(1.1);
}

.category-swiper .swiper-button-next:after,
.category-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.category-swiper .swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.category-swiper .swiper-button-disabled:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  transform: none;
}

/* Swiper Pagination */
.category-swiper .swiper-pagination {
  position: relative !important;
  margin-top: 20px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.category-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
  width: 12px !important;
  height: 12px !important;
  transition: all 0.3s ease !important;
  margin: 0 5px !important;
  border-radius: 50% !important;
}

.category-swiper .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.5) !important;
  transform: scale(1.2) !important;
}

.category-swiper .swiper-pagination-bullet-active {
  background: #3b82f6 !important;
  transform: scale(1.3) !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5) !important;
}

/* Responsive adjustments for category slider */
@media (max-width: 768px) {
  .category-slider-section {
    padding: 20px 10px;
    margin-bottom: 0px;
  }

  .slider-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .category-slide {
    min-width: 140px;
    width: 140px;
    height: 180px;
    flex-shrink: 0;
    scroll-snap-align: center;
    margin-right: 10px;
  }

  .category-slide:last-child {
    margin-right: 0;
  }

  .category-slide-image {
    height: 100px;
    min-height: 100px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .category-slide-content {
    padding: 8px;
  }

  .category-slide-title {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .category-slide-count {
    font-size: 0.7rem;
  }

  .slider-dots {
    margin-top: 15px;
    gap: 8px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .category-slider-section {
    padding: 15px 5px;
    width: 100%;
  }

  .slider-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .category-slider-container {
    gap: 8px;
    padding: 0 5px;
  }

  .slider-nav {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .slider-prev {
    left: -2px;
  }

  .slider-next {
    right: -2px;
  }

  .category-slider {
    padding: 10px 35px 10px 35px;
    margin: 0 5px;
  }

  .category-slide {
    min-width: 120px;
    width: 120px;
    height: 160px;
    margin-right: 8px;
  }

  .category-slide-image {
    height: 100px;
    min-height: 100px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .category-slide-content {
    padding: 6px;
  }

  .category-slide-title {
    font-size: 0.8rem;
  }

  .category-slide-count {
    font-size: 0.65rem;
  }
}

@media (max-width: 360px) {
  .category-slider-container {
    gap: 5px;
  }

  .slider-nav {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .slider-prev {
    left: 0px;
  }

  .slider-next {
    right: 0px;
  }

  .category-slider {
    padding: 10px 30px 10px 30px;
    margin: 0 2px;
  }

  .category-slide {
    min-width: 110px;
    width: 110px;
    height: 150px;
    margin-right: 6px;
  }

  .category-slide-image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: 100px;
    min-height: 100px;
  }
}

/* Additional Swiper responsive styles */
@media (max-width: 768px) {
  .category-swiper {
    padding: 10px 0;
    margin: 0 10px;
  }

  /* .category-swiper .swiper-slide {
    width: 140px !important;
    height: 180px !important;
  } */

  .category-swiper .swiper-button-next,
  .category-swiper .swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    margin-top: -17px;
  }

  .category-swiper .swiper-button-next:after,
  .category-swiper .swiper-button-prev:after {
    font-size: 14px;
  }

  .category-swiper .swiper-button-prev {
    /* display: none !important; */
    left: 5px !important;
  }

  .category-swiper .swiper-button-next {
    /* display: none !important; */
    right: 5px !important;
  }
}

@media (max-width: 480px) {
  .category-swiper {
    padding: 10px 0;
    margin: 0 5px;
  }

  /* .category-swiper .swiper-slide {
    width: 120px !important;
    height: 160px !important;
  } */

  .category-swiper .swiper-button-next,
  .category-swiper .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    margin-top: -15px;
  }

  .category-swiper .swiper-button-next:after,
  .category-swiper .swiper-button-prev:after {
    font-size: 12px;
  }

  .category-swiper .swiper-button-prev {
    left: 2px !important;
    /* display: none !important; */
  }

  .category-swiper .swiper-button-next {
    right: 2px !important;
    /* display: none !important; */
  }
}

/* Progress Bar Styles */
.progress-container {
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.progress-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  min-width: 40px;
}

/* Action Buttons Animation */
.actions-container {
  animation: slideUpFromBottom 0.8s ease-out;
}

.actions-container .btn {
  opacity: 0;
  transform: translateY(50px);
}

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

/* Staggered animation for individual buttons */
.actions-container .btn:nth-child(1) {
  animation: slideUpFromBottom 0.8s ease-out 0.2s both;
}

.actions-container .btn:nth-child(2) {
  animation: slideUpFromBottom 0.8s ease-out 0.4s both;
}

.actions-container .btn:nth-child(3) {
  animation: slideUpFromBottom 0.8s ease-out 0.6s both;
}

/* Bottom Navigation Menu - Hidden on desktop, shown on mobile */
.bottom-nav {
  display: none;
}

.bottom-nav-btn {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bottom-nav-btn:hover {
  background: rgba(59, 130, 246, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.bottom-nav-btn:active {
  transform: translateY(0);
}

.bottom-nav-btn i {
  font-size: 16px;
}

/* Add padding to body to prevent content from being hidden behind bottom nav - only on mobile */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }

  /* Show bottom navigation on mobile */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    height: 60px;
  }
}

/* Contact Page Styles */
.contact-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 20px;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
}

.form-label i {
  color: #3b82f6;
  width: 16px;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.info-card h3 i {
  color: #3b82f6;
}

.info-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.detail-item i {
  color: #3b82f6;
  width: 20px;
  text-align: center;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideInRight 0.3s ease-out;
}

.notification-success {
  background: #10b981;
  color: white;
}

.notification-error {
  background: #ef4444;
  color: white;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}

.notification-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.notification-close:hover {
  opacity: 1;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }

  .contact-form-wrapper,
  .info-card {
    padding: 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* Couple Upload Styles */
.couple-notice {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.couple-notice i {
  font-size: 1.5rem;
  color: #ffffff;
}

.couple-notice p {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.4;
}

.couple-notice strong {
  font-weight: 600;
  color: #fbbf24;
}

.double-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.upload-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 5px;
}

.upload-column h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.upload-column .upload-area {
  padding: 40px 20px;
  min-height: 250px;
}

.upload-column .upload-area h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.upload-column .upload-preview {
  display: none;
}

.upload-column .preview-image-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.5);
}

.upload-column .preview-image-container img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  display: block;
}

.btn-remove-small {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  z-index: 10;
}

.btn-remove-small:hover {
  background: rgba(239, 68, 68, 1);
  transform: scale(1.1);
}

.couple-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.couple-actions .btn {
  min-width: 200px;
}

/* Responsive adjustments for couple upload */
@media (max-width: 768px) {
  .double-upload-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .upload-column .upload-area {
    padding: 30px 15px;
    min-height: 200px;
  }

  .couple-notice {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .couple-notice i {
    font-size: 1.2rem;
  }
  .nav-container{
    height: 50px;
  }
  .nav-logo-img{
    height: 40px;
  }
  .main-navigation{
    margin-bottom: 30px !important;
  }
}

#useThisStyle,
#deselectStyle {
  border: 2px solid #ffffff;
}
