:root {
  --primary: #3a3f58;
  --accent: #4f8cff;
  --background: #181c2f;
  --text: #fff;
  --input-bg: #fff;
  --input-border: #23284a;
  --input-text: #23284a;
  --button-bg: #23284a;
  --button-text: #fff;
  --button-hover: #4f8cff;
}
body {
  background: var(--background);
  color: var(--text);
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}
.container {
  display: flex;
  min-height: 100vh;
  background: url('../img/registration-bg.jpg') center center/cover no-repeat;
}
.left, .right {
  flex: 1 1 0;
  width: 50%;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.left {
  position: relative;
}

/* Dark overlay for mobile/tablet - only visible on smaller screens */
.left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 1;
  display: none; /* Hidden by default (desktop) */
}

/* Ensure left content is above the overlay */
.left-content {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 3rem;
  position: relative;
  z-index: 2; /* Above the overlay */
}

.logo-top {
  margin-bottom: 2.5rem;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding-left: 3rem;
  position: relative;
  z-index: 2; /* Above the overlay */
}
.logo-img {
  width: 140px;
  height: auto;
  display: block;
}
.left h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: #fff;
}
.subtitle {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.left p {
  font-size: 1.1rem;
  color: #b0b8d1;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.right {
  background: rgba(58, 63, 88, 0.85); /* semi-transparent */
  box-shadow: 0 0 32px 0 rgba(34,40,74,0.18);
  width: 50%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.5px;
}
.form-desc {
  color: #b0b8d1;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
}
form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}
.form-row input {
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}
input[type="text"], input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  color: var(--input-text);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  box-shadow: 0 2px 8px 0 rgba(34,40,74,0.04);
  transition: border 0.2s;
}
input[type="text"]:focus, input[type="email"]:focus {
  border: 1.5px solid var(--accent);
}
input[type="submit"] {
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(34,40,74,0.08);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 1px;
}
input[type="submit"]:hover {
  background: var(--button-hover);
  color: #fff;
}
.status-message {
  margin-top: 1rem;
  color: var(--accent);
  font-weight: bold;
  font-size: 1rem;
}
form input[placeholder] {
  opacity: 0.9;
}
.right a {
  color: white;
  text-decoration: underline;
  font-weight: 500;
}
.right a:hover {
  color: #ffffff;
}
@media (max-width: 1100px) {
  .container {
    flex-direction: column;
    background: url('../img/registration-bg.jpg') center center/cover no-repeat;
  }
  
  /* Show dark overlay on left side for mobile/tablet */
  .left::before {
    display: block;
  }
  
  .left, .right {
    width: 100%;
    min-width: unset;
    min-height: unset;
    border-radius: 0;
    margin: 0;
    padding: 2rem 0.5rem;
  }
  .logo-top, .left-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .right {
    max-width: 100vw;
    padding: 2rem 0.5rem;
    border-radius: 1.5rem;
  }
}
@media (max-width: 700px) {
  .container {
    flex-direction: column;
    min-height: unset;
    background: url('../img/registration-bg.jpg') center center/cover no-repeat;
  }
  .left, .right {
    width: 100%;
    min-width: unset;
    min-height: unset;
    padding: 1rem 0.5rem;
    border-radius: 0;
    margin: 0;
  }
  .logo-top, .left-content {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .left h1 {
    font-size: 1.5rem;
  }
  .form-title {
    font-size: 1.1rem;
  }
  form {
    max-width: 100%;
  }
  input[type="text"], input[type="email"], input[type="submit"] {
    font-size: 0.95rem;
    padding: 0.6rem 0.7rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0.5rem;
  }
  .right {
    border-radius: 1rem;
    min-width: unset;
    max-width: 100vw;
    padding: 1.5rem 0.5rem;
  }
} 

/* Success State Styles */
.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    height: 100%;
    min-height: 400px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInScale 0.6s ease-out;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.success-message {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.5;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.login-link-container {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.login-link {
    display: inline-block;
    background: linear-gradient(135deg, #4f8cff 0%, #3a7bd5 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 140, 255, 0.3);
}

.login-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 140, 255, 0.4);
    background: linear-gradient(135deg, #3a7bd5 0%, #2c5aa0 100%);
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for success state */
@media (max-width: 768px) {
    .success-container {
        padding: 2rem 1rem;
        min-height: 300px;
    }
    
    .success-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .success-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .success-message {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .login-link {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
} 