
/* Auth Split Layout Redesign */
.auth-split-screen {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background-color: var(--color--white);
}

.auth-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  background-color: var(--color--white);
  overflow-y: auto;
  height: 100vh;
}

.auth-right {
  width: 50%;
  background-color: var(--color--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 40px;
  text-align: center;
}

.auth-content-wrapper {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.auth-brand-logo {
  margin-bottom: 40px;
  max-width: 180px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.auth-right-logo {
  max-width: 300px;
  filter: brightness(0) invert(1);
  margin-bottom: 30px;
}

.auth-right-heading {
  color: var(--color--white);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.auth-right-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 400px;
}

/* Form Styling Overrides for Compactness */
.auth-left .user-form-top-heading {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

.auth-left .ueser-form-heading-summary {
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
  color: #666;
}

.auth-left .user-input-form-block {
  max-width: 100%;
  padding: 0;
}

.auth-left .input-field-label {
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.auth-left .user-authentication-input-field {
  height: 48px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background-color: #f9f9f9;
  font-size: 16px;
  margin-bottom: 0;
}

/* Premium Card Styles */
.premium-card-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.premium-card {
  width: 380px;
  height: 240px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    #050505,
    #0d0d0d,
    #050505
  );
  color: #d8d8d8;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.premium-card:hover {
    transform: translateY(-5px);
}

/* Top row */
.card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  column-gap: 16px;
}

/* Logo */
.card-logo {
  height: 48px;
  filter: brightness(1.4);
}

/* Brand name */
.brand-name {
  font-size: 26px;
  letter-spacing: 4px;
  font-weight: 700;
  background: linear-gradient(180deg, #f5f5f5, #cfcfcf, #9e9e9e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 6px rgba(255,255,255,0.3);
  line-height: 1.2;
}

/* PREMIUM directly below brand */
.card-type {
  margin-top: -4px;
  font-size: 16px;
  letter-spacing: 4px;
  font-weight: 600;
  color: #bfbfbf;
}

/* Card number */
.card-number {
  margin: 26px 0;
  font-size: 22px;
  letter-spacing: 3px;
  font-weight: 500;
  color: #e6e6e6;
  text-shadow: 0 0 8px rgba(255,255,255,0.2);
  font-family: monospace; /* Ensure alignment */
}

/* Bottom section */
.card-bottom {
  display: flex;
  justify-content: space-between;
}

.card-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #8c8c8c;
  display: block;
  text-transform: uppercase;
}

.card-value {
  display: block;
  font-size: 14px;
  margin-top: 4px;
  letter-spacing: 1px;
  color: #f0f0f0;
  text-transform: uppercase;
}

/* Phone number */
.card-phone {
  display: block;
  font-size: 12px;
  margin-top: 2px;
  letter-spacing: 1px;
  color: #bfbfbf;
}

/* Profile Dropdown Styles */
.profile-dropdown-wrapper {
  position: relative;
  display: inline-block;
  height: 100%;
  display: flex;
  align-items: center;
}

.profile-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1000;
  border: 1px solid rgba(0,0,0,0.05);
}

.profile-dropdown-wrapper:hover .profile-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Override Btn hover behavior to NOT expand */
.profile-dropdown-wrapper:hover .Btn {
  width: 55px; /* Keep original width */
  border-radius: 50%; /* Keep circular */
  /* No transform to avoid movement */
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* New Profile User Info Section */
.profile-user-info {
  padding: 16px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
  border-radius: 12px 12px 0 0;
}

.profile-user-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.profile-user-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
}

.amount-value {
  font-weight: 600;
  color: var(--color--primary-color, #28a745);
}

/* Ensure menu has no padding on top so the user info touches the corners */
.profile-dropdown-menu {
  padding-top: 0;
  overflow: hidden; /* For border radius */
}

/* Bridge to prevent menu closing when moving cursor from button to menu */
.profile-dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px; /* matches margin-top */
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s;
  border-left: 3px solid transparent;
}

.profile-dropdown-item:hover {
  background-color: #f5f7fa;
  color: var(--color--primary-color, #000);
  border-left-color: var(--color--primary-color, #000);
}

.profile-dropdown-item svg {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.profile-dropdown-divider {
  height: 1px;
  background-color: #eee;
  margin: 6px 0;
}
