
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #16213e 50%, #0f3460 75%, #1a1f3a 100%);
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

body::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, transparent 70%);
  top: -300px;
  right: -200px;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

body::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: -150px;
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(30px) scale(1.05); }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(79, 70, 229, 0.3); }
  50% { box-shadow: 0 0 40px rgba(79, 70, 229, 0.5); }
}

.register-box {
  background: rgba(20, 28, 50, 0.85);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.1) inset;
  padding: 60px 50px;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 1;
  animation: slideInDown 0.6s ease-out;
}

.logo-section {
  text-align: center;
  margin-bottom: 40px;
  animation: slideInDown 0.8s ease-out;
}

.logo-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.3) inset;
  animation: glow 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.logo-icon i {
  font-size: 36px;
  color: white;
  position: relative;
  z-index: 1;
}

h2 {
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #d4d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 32px;
  margin-bottom: 12px;
  letter-spacing: -1px;
  animation: slideInDown 0.9s ease-out;
}

p.desc {
  text-align: center;
  color: #a8b2d1;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.6;
  animation: slideInDown 1s ease-out;
}

.message {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
  color: #fca5a5;
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 25px;
  font-size: 14px;
  border-left: 4px solid #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  animation: slideInUp 0.6s ease-out;
}

.message::before {
  content: '\f071';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

.user-type-selector {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 35px;
  animation: slideInUp 0.7s ease-out;
}

.user-type {
  flex: 1;
  background: rgba(51, 65, 85, 0.4);
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  text-align: center;
  padding: 20px 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.user-type::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.user-type:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.user-type.active {
  border-color: #6366f1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.1));
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.3) inset;
  transform: translateY(-4px) scale(1.02);
}

.user-type i {
  font-size: 26px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.user-type.active i {
  transform: scale(1.1);
}

.user-type span {
  display: block;
  font-weight: 600;
  color: #e2e8f0;
  font-size: 14px;
}

form {
  animation: slideInUp 0.8s ease-out;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

label {
  display: block;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

label i {
  margin-right: 8px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 16px;
  text-align: center;
}

.input-wrapper {
  position: relative;
}

input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 14px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  background: rgba(30, 41, 59, 0.6);
  color: #e2e8f0;
  backdrop-filter: blur(10px);
}

input::placeholder {
  color: #64748b;
}

input:focus {
  border-color: #6366f1;
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), inset 0 0 0 1px rgba(99, 102, 241, 0.2);
  outline: none;
  transform: translateY(-1px);
}

input:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

#checkMsg {
  display: block;
  margin: 8px 0;
  color: #94a3b8;
  font-weight: 500;
  font-size: 13px;
  min-height: 18px;
}

.strength-meter {
  background: rgba(51, 65, 85, 0.4);
  border-radius: 8px;
  height: 6px;
  width: 100%;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.strength-bar {
  height: 6px;
  width: 0%;
  border-radius: 8px;
  transition: width 0.4s ease, background 0.4s ease;
  background: linear-gradient(90deg, #6366f1, #a855f7);
}

#strengthText {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
  opacity: 1;
  transition: opacity 0.3s ease;
  text-decoration:none !important;
}

.social-btns a {
  text-decoration:none !important;
}
.social-btns a:hover {
  text-decoration:none !important;
  color: #ccc;
}

.social-btn {
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.google-btn {
  background: rgba(253, 254, 255, 0.87);
  color: #000;
  border: 2px solid rgba(99, 102, 241, 0.2);
}

.google-btn:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.eposta-btn {
  background: rgba(51, 65, 85, 0.5);
  color: #e2e8f0;
  border: 2px solid rgba(99, 102, 241, 0.2);
}

.eposta-btn:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.facebook-btn {
  background: linear-gradient(135deg, #1877f2, #0a66c2);
  color: #fff;
  border: 2px solid transparent;
}

.facebook-btn:hover {
  transform: translateY(-2px);
  background: rgba(99, 102, 241, 0.15);
  /*box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);*/
}

.btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  /*box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);*/
  margin-top: 15px;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  /*box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6), 0 0 20px rgba(168, 85, 247, 0.3);*/
  background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
}

.btn:active {
  transform: translateY(-1px);
}

.footer-text {
  text-align: center;
  margin-top: 30px;
  color: #94a3b8;
  font-size: 14px;
}

.footer-text a {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.footer-text a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  transition: width 0.3s ease;
}

.footer-text a:hover::after {
  width: 100%;
}

.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: none !important;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: rgba(20, 28, 50, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 50px 40px;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
  width: 90%;
  max-width: 420px;
  position: relative;
  animation: slideInDown 0.4s ease-out;
  backdrop-filter: blur(20px);
}

.modal-content h3 {
  color: #e2e8f0;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.modal-content h3 i {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 28px;
}

.modal-content > p {
  color: #cbd5e1;
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 1.6;
}

.modal-content input {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 12px;
  padding: 20px;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
  background: rgba(30, 41, 59, 0.6);
  color: #6366f1;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 14px;
}

#verifyMsg {
  margin-top: 15px;
  color: #94a3b8;
  font-size: 14px;
  min-height: 20px;
  font-weight: 500;
}

.alertify .ajs-header {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  font-weight: 600;
  border: none;
}

.alertify .ajs-ok {
  background: #6366f1 !important;
  border: none !important;
  color: white !important;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.alertify .ajs-ok:hover {
  background: #4f46e5 !important;
}

.alertify .ajs-cancel {
  background: rgba(51, 65, 85, 0.5) !important;
  color: #e2e8f0 !important;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
}

.alertify .ajs-message {
  font-size: 15px;
  color: #0f172a;
}

.alertify-notifier .ajs-message.ajs-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

.alertify-notifier .ajs-message.ajs-error {
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
}

.alertify-notifier .ajs-message.ajs-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

input:-webkit-autofill {
  transition: background-color 9999s ease-in-out 0s;
  -webkit-text-fill-color: #e2e8f0 !important;
}

@media (max-width: 580px) {
  .register-box {
    padding: 45px 30px;
  }

  h2 {
    font-size: 28px;
  }

  .modal-content {
    padding: 40px 25px;
  }

  .user-type-selector {
    gap: 10px;
  }

  .logo-icon {
    width: 70px;
    height: 70px;
  }

  .logo-icon i {
    font-size: 32px;
  }
}
#cancelEmailRegister {
  background: rgba(51, 65, 85, 0.8);
  color: #e2e8f0;
  border: 2px solid rgba(99, 102, 241, 0.3);
  font-weight: 600;
}
#cancelEmailRegister:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}