/* Modern Auth Design */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #44bb14;
  --primary-hover: #3aa011;
  --text-color: #333;
  --text-muted: #666;
  --bg-overlay: rgba(0, 0, 0, 0.6);
  --card-bg: #ffffff;
  --input-border: #e1e1e1;
  --input-focus: #44bb14;
}

body,
html {
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

body {
    /* Modern Animated Gradient Background */
    background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #1e5631, #44bb14);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    width: 100%;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.registerLogin {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Typography & Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color);
  font-weight: 600;
  margin-top: 0;
}

.welcome_inner_content {
  text-align: center;
  margin-bottom: 30px;
}

.welcome_inner_content h4 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.welcome_inner_content img {
  max-height: 120px;
  width: auto;
  margin-bottom: 20px;
  display: inline-block;
}

.welcome_inner_content p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-control {
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--input-border);
  padding: 10px 15px;
  font-size: 14px;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus {
  background-color: #fff;
  border-color: var(--input-focus);
  box-shadow: 0 0 0 4px rgba(68, 187, 20, 0.1);
  outline: none;
}

label {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 8px;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 10px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  width: 100%;
  box-shadow: 0 4px 6px rgba(68, 187, 20, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(68, 187, 20, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Alerts */
.alert {
  border-radius: 10px;
  font-size: 14px;
  border: none;
  padding: 15px;
  margin-bottom: 20px;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

/* Helper Classes */
.help-block {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.text-center {
  text-align: center;
}

/* Specific Layout Adjustments */
.persona_detail_data {
  width: 100%;
}

.persona_detail_data h6 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--text-color);
}

.inner_detail_data {
  width: 100%;
}

.date_welcome_letter_inner p {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #eee;
  padding-bottom: 5px;
}

.date_welcome_letter_inner p span {
  color: var(--text-color);
  font-weight: 600;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
  .registerLogin {
    padding: 30px 20px;
    margin: 20px auto;
  }

  .welcome_inner_content h4 {
    font-size: 20px;
  }
}
