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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

/* Main Container */
.main-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

/* Background Gradient */
.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 50%, #f3e8ff 100%);
  z-index: 0;
}

/* Left Panel */
.left-panel {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  overflow-y: auto;
  overflow-x: hidden;
}

.form-container {
  width: 100%;
  max-width: 28rem;
  height: 100%;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

/* Title Section */
.title-section {
  margin-bottom: 2rem;
}

.main-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Glass Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Tabs */
.tabs-container {
  margin-bottom: 2rem;
}

.tabs-wrapper {
  border-radius: 1rem;
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.tab-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  border: none;
  background: transparent;
  color: #64748b;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tab-button:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.4);
}

.tab-button.active {
  background: #3b82f6;
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tab-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

/* Form Card */
.form-card {
  border-radius: 1rem;
  padding: 2rem;
}

/* Form Elements */
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.glass-input {
  height: 3rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

/* Password Wrapper */
.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #1e293b;
}

.eye-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

/* Custom Checkbox */
.custom-control-label {
  font-size: 1rem;
  font-weight: 500!important;
  color: #1e293b;
  cursor: pointer;
}

/* Links */
.link-accent {
  color: #3b82f6;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-accent:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Captcha Box */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.captcha-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: #3b82f6;
  stroke-width: 2;
}

/* Buttons */
.btn-custom {
  height: 3rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary.btn-custom {
  background: #3b82f6;
  border: none;
}

.btn-primary.btn-custom:hover:not(:disabled) {
  background: #2563eb;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary.btn-custom:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-outline-secondary.btn-custom {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
}

.btn-outline-secondary.btn-custom:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: #94a3b8;
}

/* Info Box */
.info-box {
  padding: 1rem;
  border-radius: 0.75rem;
}

.alert-info {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: #3b82f6;
  color: white;
  transition: all 0.3s ease;
}

.alert-hover:hover{
  background: #2563eb;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  cursor: pointer;
}

.mt-3{
  margin-top: 3rem!important;
}

.mt-1{
  margin-top: 1rem!important;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  background: #e2e8f0;
  color: #64748b;
  transition: all 0.3s ease;
}

.step-number.active {
  background: #3b82f6;
  color: white;
}

.step-line {
  width: 3rem;
  height: 2px;
  background: rgba(59, 130, 246, 0.2);
}

.step-text {
  font-size: 0.875rem;
  color: #64748b;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

/* Gap utility for buttons */
.d-flex.gap-3 {
  gap: 1rem;
}

.flex-fill {
  flex: 1;
}

/* Right Panel */
.right-panel {
  width: 50%;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3730a3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

/* Decorative Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.orb-1 {
  top: 5rem;
  right: 5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(96, 165, 250, 0.4);
}

.orb-2 {
  bottom: 5rem;
  left: 5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(167, 139, 250, 0.4);
}

/* Carousel Container */
.carousel-container {
  max-width: 50rem;
  width: 100%;
  position: relative;
  z-index: 10;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
}

.carousel-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.carousel-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

.indicator.active {
  width: 2rem;
  background: white;
}

/* Metrics Container */
.metrics-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metric-card {
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 991px) {
  .main-container {
    flex-direction: column;
  }

  .left-panel {
    width: 100%;
    height: auto;
    min-height: 100vh;
  }

  .right-panel {
    display: none;
  }
}

/* Scrollbar Styling */
.left-panel::-webkit-scrollbar {
  width: 8px;
}

.left-panel::-webkit-scrollbar-track {
  background: transparent;
}

.left-panel::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 4px;
}

.left-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

.help-block{
  color: red;
}

.glass-card .text-danger{
  background: red!important;
  color: white!important;
}

.glass-card .text-success{
  background: #28a745!important;
  color: white!important;
}

.input-group-append{
  cursor: pointer;
}

#img_logo{
  cursor: pointer;
}