/* ===== GUIMAX – REGISTER.CSS ===== */

/* PAGE HERO BANNER */
.reg-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d0000 60%, #FF0000 100%);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.reg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.reg-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.reg-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* BREADCRUMB */
.reg-breadcrumb {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
  font-size: 0.85rem;
  color: #6c757d;
}
.reg-breadcrumb a { color: #FF0000; }
.reg-breadcrumb a:hover { text-decoration: underline; }
.reg-breadcrumb span { margin: 0 8px; }

/* MAIN LAYOUT */
.reg-section {
  padding: 60px 0 80px;
  background: #f8f9fa;
  min-height: 60vh;
}

.reg-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

/* FORM CARD */
.reg-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  padding: 40px 44px;
}
.reg-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.reg-form-card .reg-form-subtitle {
  color: #6c757d;
  font-size: 0.92rem;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e9ecef;
}

/* SECTION DIVIDER */
.reg-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #FF0000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 28px 0 18px;
}
.reg-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e9ecef;
}

/* FORM GRID */
.reg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.reg-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px 24px;
}
.reg-span-2 { grid-column: span 2; }
.reg-span-3 { grid-column: span 3; }

/* FORM GROUPS */
.reg-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reg-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #343a40;
}
.reg-form-group label .req {
  color: #FF0000;
  margin-left: 2px;
}
.reg-form-group input,
.reg-form-group select,
.reg-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ced4da;
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: inherit;
  color: #343a40;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.reg-form-group input:focus,
.reg-form-group select:focus,
.reg-form-group textarea:focus {
  border-color: #FF0000;
  box-shadow: 0 0 0 3px rgba(255,0,0,0.08);
}
.reg-form-group input::placeholder,
.reg-form-group textarea::placeholder {
  color: #adb5bd;
}
.reg-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.reg-form-group textarea { resize: vertical; min-height: 110px; }

/* RADIO / CHECKBOX ROW */
.reg-radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.reg-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #343a40;
  cursor: pointer;
}
.reg-radio-label input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: #FF0000;
  cursor: pointer;
}

/* SUBMIT AREA */
.reg-submit-area {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reg-submit-area .btn {
  font-size: 1rem;
  padding: 14px 30px;
}
.reg-note {
  font-size: 0.82rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 6px;
}
.reg-note i { color: #22c55e; }

/* SUCCESS / ERROR MESSAGES */
.reg-alert {
  display: none;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 500;
  align-items: center;
  gap: 10px;
}
.reg-alert.show { display: flex; }
.reg-alert-success {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
}
.reg-alert-error {
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* SIDEBAR */
.reg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reg-info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  padding: 26px 24px;
}
.reg-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.reg-info-card h4 i { color: #FF0000; }
.reg-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reg-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #495057;
  line-height: 1.5;
}
.reg-info-list li i {
  color: #FF0000;
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.reg-contact-card {
  background: linear-gradient(135deg, #1a1a2e, #2d0000);
  border-radius: 14px;
  padding: 26px 24px;
  color: #fff;
}
.reg-contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.reg-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.reg-contact-item i {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.reg-contact-item a { color: rgba(255,255,255,0.9); }
.reg-contact-item a:hover { color: #fff; text-decoration: underline; }

/* STEP INDICATOR */
.reg-steps {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
}
.reg-step {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #adb5bd;
  position: relative;
  padding-bottom: 10px;
}
.reg-step::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #e9ecef;
  border-radius: 2px;
}
.reg-step.active { color: #FF0000; }
.reg-step.active::after { background: #FF0000; }
.reg-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9ecef;
  color: #adb5bd;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.reg-step.active .reg-step-num {
  background: #FF0000;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .reg-layout { grid-template-columns: 1fr; }
  .reg-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .reg-form-card { padding: 28px 20px; }
  .reg-grid-2 { grid-template-columns: 1fr; }
  .reg-grid-3 { grid-template-columns: 1fr 1fr; }
  .reg-span-2, .reg-span-3 { grid-column: span 1; }
  .reg-sidebar { grid-template-columns: 1fr; }
  .reg-grid-3 .reg-span-3 { grid-column: span 2; }
}
@media (max-width: 480px) {
  .reg-grid-3 { grid-template-columns: 1fr; }
  .reg-grid-3 .reg-span-3 { grid-column: span 1; }
}
