/* ===== Login & Registration Page Styles ===== */

/* Page Container */
.authpages {
  min-height: calc(100vh - 75px);
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: linear-gradient(135deg, #f6f9fc 0%, #eef2f7 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Elements */
.authpages::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5, 108, 184, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.authpages::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 211, 2, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.authpages .container {
  position: relative;
  z-index: 1;
}

/* Auth Card Container */
.useraccountwrap {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 550px;
  margin: 0 auto;
}

.useraccountwrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

/* Tabs Styling */
.userbtns {
  background: #fff;
  padding: 10px 10px 0;
  border-bottom: 1px solid #f1f2f6;
}

.userbtns .nav-tabs {
  border: none;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.userbtns .nav-item {
  flex: 1;
  text-align: center;
}

.userbtns .nav-link {
  background: transparent;
  border: none;
  color: #7f8c8d;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 20px;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 12px 12px 0 0;
}

.userbtns .nav-link:hover {
  color: #056cb8;
  background: rgba(5, 108, 184, 0.05);
}

.userbtns .nav-link.active {
  color: #056cb8;
  background: #fff;
  font-weight: 700;
}

.userbtns .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #056cb8;
  border-radius: 3px 3px 0 0;
}

/* Content Area */
.userccount {
  padding: 40px;
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
}

/* Social Login */
.socialLogin {
  text-align: center;
  margin-bottom: 30px;
}

.socialLogin h5 {
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 20px;
  font-weight: 500;
}

.social-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-btns a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  transition: all 0.3s ease;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btns a.fb {
  background: #1877f2;
}

.social-btns a.fb:hover {
  background: #145dbf;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.social-btns a.tw {
  background: #1da1f2;
}

.social-btns a.tw:hover {
  background: #0d8bd9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(29, 161, 242, 0.3);
}

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 30px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ecf0f1;
}

.divider span {
  background: #fff;
  padding: 0 15px;
  color: #95a5a6;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* Form Styling */
.formrow {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #f1f2f6;
  border-radius: 12px;
  font-size: 15px;
  color: #2c3e50;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #056cb8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(5, 108, 184, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #bdc3c7;
}

/* Checkbox Styling */
.formrow label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7f8c8d;
  font-size: 14px;
  cursor: pointer;
}

.formrow input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #bdc3c7;
  cursor: pointer;
}

/* Buttons */
.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #056cb8 0%, #045a94 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(5, 108, 184, 0.2);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(5, 108, 184, 0.3);
  background: linear-gradient(135deg, #045a94 0%, #033d66 100%);
}

/* New User Section */
.newuser {
  margin-top: 30px;
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  color: #7f8c8d;
  font-size: 14px;
}

.newuser i {
  color: #056cb8;
  margin-right: 5px;
}

.newuser a {
  color: #056cb8;
  font-weight: 700;
  text-decoration: none;
  margin-left: 5px;
}

.newuser a:hover {
  text-decoration: underline;
}

/* Flash Messages */
.alert {
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  border: none;
  font-weight: 500;
}

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

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-pane.active {
  animation: fadeIn 0.4s ease-out forwards;
}

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

  .authpages {
    padding: 30px 15px;
  }

  .userbtns .nav-link {
    padding: 12px 15px;
    font-size: 14px;
  }

  .auth-title {
    font-size: 20px;
  }
}