:root {
  --primary-color: #f42112;
  --secondary-color: #1a1a1a;
  --accent-color: #f42112;
  --text-muted: #6c757d;
  --glass-bg: rgba(255, 255, 255, 0.9);
}

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

body {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  overflow-x: hidden;
}

#register-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  background-color: #fff;
}

/* Left Side - Hero Section */
.register-hero {
  flex: 1;
  position: relative;
  background: url('/assets/img/suplamar-11.JPG') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  color: white;
}

.register-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* Right Side - Form Section */
.register-form-side {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 40px;
}

.register-card {
  width: 100%;
  max-width: 700px;
  padding: 40px;
  background: var(--glass-bg);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
}

#register-header {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.register-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group-custom {
  flex: 1;
  margin-bottom: 15px;
}

.form-group-custom label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.input-container {
  position: relative;
}

.input-container i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.form-control-custom {
  width: 100%;
  padding: 12px 12px 12px 42px;
  background: #fff;
  border: 2px solid #edeff2;
  border-radius: 12px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(244, 33, 18, 0.1);
}

.gender-selection {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.gender-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-register {
  width: 100%;
  padding: 14px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(244, 33, 18, 0.2);
  margin-top: 20px;
}

.login-link {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

#CheckPasswordMatch {
  font-size: 0.85rem;
  margin-top: 5px;
  min-height: 20px;
}

/* Responsiveness */
@media (max-width: 992px) {
  #register-wrapper {
    flex-direction: column;
  }
  .register-hero { height: 30vh; padding: 30px; }
  .form-row { flex-direction: column; gap: 0; }
  .hero-content h1 { font-size: 2rem; }
}