:root {
}

.resume-builder {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
  background: #0b1120;
}

.resume-builder > div:first-child {
  flex-shrink: 0;
}

.resume-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  background: transparent;
  position: relative;
  z-index: 1;
  width: 100%;
}

.resume-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 166, 251, 0.05) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
}

.resume-content::after {
  content: '';
  position: absolute;
  top: 2rem;
  right: 3rem;
  width: 2px;
  height: 2px;
  background: #00a6fb;
  border-radius: 50%;
  opacity: 0.4;
  animation: sparkle 4s ease-in-out infinite;
  animation-delay: 1s;
  z-index: -1;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.5);
  }
}

.form-container {
  width: 100%;
  height: 100%;
  animation: fadeIn 0.6s ease-out;
  position: relative;
  z-index: 2;
}

.resume-builder:has(.w-20) .form-container {
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {
  .form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.resume-builder .sidebar-transition {
  transition: all 0.3s ease-in-out;
}

@media (min-width: 1400px) {
  .resume-content {
    padding: 2rem;
  }
}

@media (max-width: 1024px) {
  .form-container {
    max-width: 100%;
    min-width: auto;
  }
  .resume-content {
    padding: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .resume-content {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .resume-content {
    padding: 0.75rem;
  }

  .form-row {
    gap: 1rem;
  }
}

.text-primary {
  color: #00a6fb;
}
.bg-primary {
  background-color: #00a6fb;
}
.border-primary {
  border-color: rgba(0, 166, 251, 0.2);
}
.shadow-primary {
  box-shadow: 0 4px 20px rgba(0, 166, 251, 0.15);
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 27, 53, 0.92) 0%, rgba(0, 43, 62, 0.92) 100%);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-spinner-large {
  width: 3rem;
  height: 3rem;
  border: 4px solid rgba(0, 166, 251, 0.2);
  border-radius: 50%;
  border-top-color: #00a6fb;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
