/* ==========================================================================
   OneHCP Doctor Side - Complete Vanilla CSS
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  /* Primary Colors */
  --primary-50: #EBF2FF;
  --primary-100: #D6E4FF;
  --primary-200: #ADC8FF;
  --primary-300: #84ACFF;
  --primary-400: #5B90FF;
  --primary-500: #4778EF;
  --primary-600: #3860D6;
  --primary-700: #2A48A8;
  --primary-800: #1C307A;
  --primary-900: #0E184D;

  /* Neutral Colors */
  --neutral-50: #F9FAFB;
  --neutral-100: #F3F4F6;
  --neutral-200: #E5E7EB;
  --neutral-300: #D1D5DB;
  --neutral-400: #9CA3AF;
  --neutral-500: #6B7280;
  --neutral-600: #4B5563;
  --neutral-700: #374151;
  --neutral-800: #1F2937;
  --neutral-900: #111827;

  --gray-black: #272A42;
  --breadcrumbs: #8E8E85;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.25s ease;
}

input,
select {
  font-family: inherit;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes zoomBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.3);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-4px);
  }

  40% {
    transform: translateX(4px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(71, 120, 239, 0);
  }

  50% {
    box-shadow: 0 0 14px 3px rgba(71, 120, 239, 0.25);
  }
}

@keyframes badgeEntrance {
  0% {
    transform: scale(0.5) translateY(30px);
    opacity: 0;
  }

  60% {
    transform: scale(1.1) translateY(-10px);
  }

  80% {
    transform: scale(0.95) translateY(5px);
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   Auth Layout
   ========================================================================== */

.auth-layout {
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.auth-card-container {
  width: 50%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 48px 50px 30px 50px;
  width: 100%;
  max-width: 600px;
  height: calc(100vh - 60px);
  max-height: 720px;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.5s ease-out;
}

.auth-footer {
  margin-top: auto;
  padding-top: 20px;
  padding-bottom: 30px;
  text-align: center;
  color: var(--neutral-400);
  font-size: 13px;
}

/* ==========================================================================
   Welcome Page
   ========================================================================== */

.welcome-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -8px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: fadeIn 0.6s ease-out;
}

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.tagline {
  font-family: 'Work Sans', sans-serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--gray-black);
  line-height: 1.3;
  margin-top: 8px;
  margin-bottom: 105px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.welcome-section {
  margin-top: 0;
  margin-bottom: 0;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.welcome-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--gray-black);
  margin-bottom: 28px;
}

/* Buttons */
.btn {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  height: 48px;
  padding: 0 40px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-500);
  color: var(--primary-500);
}

.btn-outline:hover {
  background: var(--primary-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(71, 120, 239, 0.5);
}

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

/* ==========================================================================
   Form Styles
   ========================================================================== */

.form-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 35px;
}

.form-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 32px;
  animation: fadeInUp 0.5s ease-out;
}

.form-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--primary-500);
}

.back-btn {
  position: absolute;
  top: -24px;
  right: -59px;
  background: none;
  border: none;
  color: #6E6670;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: var(--neutral-100);
}

.form-group {
  margin-bottom: 20px;
  animation: slideUp 0.4s ease-out backwards;
}

.form-group:nth-child(1) {
  animation-delay: 0.1s;
}

.form-group:nth-child(2) {
  animation-delay: 0.15s;
}

.form-group:nth-child(3) {
  animation-delay: 0.2s;
}

.form-group:nth-child(4) {
  animation-delay: 0.25s;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-black);
  margin-bottom: 8px;
}

.required {
  color: #EF4444;
  margin-left: 2px;
}

.input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  background: white;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(71, 120, 239, 0.1);
}

.form-input.error {
  border-color: #EF4444;
  animation: shake 0.4s ease;
}

.form-input::placeholder {
  color: var(--neutral-400);
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--neutral-400);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.toggle-password:hover {
  color: var(--neutral-600);
}

.error-text {
  display: block;
  font-size: 12px;
  color: #EF4444;
  margin-top: 6px;
  animation: fadeIn 0.3s ease;
}

/* Forgot Password */
.forgot-password {
  width: 100%;
  text-align: right;
  margin-bottom: 24px;
}

.forgot-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-500);
  cursor: pointer;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Action Buttons */
.action-buttons {
  width: 100%;
  display: flex;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.action-buttons .btn {
  flex: 1;
  height: 48px;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0;
}

/* Divider */
.divider {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--neutral-200);
}

.divider span {
  padding: 0 16px;
  font-size: 13px;
  color: var(--neutral-400);
  font-weight: 500;
}

/* OTP Button */
.btn-otp {
  width: 290px;
  height: 48px;
  font-size: 16px;
  font-weight: 400;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 1px solid var(--primary-500);
  color: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-otp:hover {
  background: var(--primary-50);
  transform: translateY(-2px);
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social-btn {
  flex: 1;
  max-width: 140px;
  height: 48px;
  padding: 14px 24px;
  background: white;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.social-btn:hover {
  border-color: var(--primary-500);
  background: var(--neutral-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Terms Text */
.terms-text {
  font-size: 12px;
  color: var(--neutral-500);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
}

.link {
  color: var(--primary-500);
  font-weight: 500;
  cursor: pointer;
}

.link:hover {
  text-decoration: underline;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  max-width: 347px;
  height: 48px;
  margin: 24px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  border: none;
  cursor: pointer;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(71, 120, 239, 0.5);
}

/* ==========================================================================
   Email Sent Page
   ========================================================================== */

.email-sent-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #E8F0FE 0%, #F0F4FF 30%, #FFFFFF 70%, #FFFFFF 100%);
  margin: -48px -50px;
  padding: 48px 50px;
  border-radius: var(--radius-xl);
}

.email-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.illustration-img {
  width: 360px;
  height: auto;
  object-fit: contain;
  margin-left: 12px;
  animation: float 3s ease-in-out infinite;
  filter: contrast(1.1) saturate(1.1);
}

.email-message {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-black);
  line-height: 20px;
  margin-top: -8px;
  margin-bottom: 24px;
}

.email-buttons {
  width: 100%;
  max-width: 347px;
}

.email-buttons .btn {
  gap: 8px;
}

.email-buttons .btn-outline.success {
  border-color: #10B981;
  color: #10B981;
  background: #ECFDF5;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner.white {
  border-top-color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   OTP Verification Page
   ========================================================================== */

.otp-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 35px;
  justify-content: flex-start;
}

.otp-description {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-black);
  text-align: center;
  line-height: 22px;
  margin-bottom: 18px;
}

/* OTP Inputs */
.otp-inputs {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 18px;
}

.otp-input {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  font-family: 'Work Sans', sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  color: var(--gray-black);
  background: white;
  transition: all 0.2s ease;
}

.otp-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(71, 120, 239, 0.2);
}

.otp-input::placeholder {
  color: var(--neutral-300);
}

/* Resend Section */
.resend-section {
  text-align: center;
  margin-bottom: 12px;
}

.resend-text {
  font-size: 14px;
  color: var(--neutral-500);
  margin-bottom: 4px;
}

.resend-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-500);
  cursor: pointer;
  transition: all 0.2s ease;
}

.resend-btn:hover {
  text-decoration: underline;
}

.resend-btn.success {
  color: #10B981;
}

/* Verify Button */
.btn-verify {
  width: 100%;
  max-width: 347px;
  height: 48px;
  font-size: 16px;
  font-weight: 400;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 20px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-verify:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
  transform: translateY(-2px);
}

.btn-verify:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Numeric Keypad */
.keypad {
  background: var(--neutral-50);
  border-radius: var(--radius-sm);
  padding: 15px 24px;
  width: 100%;
  max-width: 300px;
}

.keypad-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.keypad-row:last-child {
  margin-bottom: 0;
}

.keypad-btn {
  width: 70px;
  height: 44px;
  background: transparent;
  border: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--gray-black);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keypad-btn:hover:not(.empty) {
  background: var(--neutral-200);
}

.keypad-btn:active:not(.empty) {
  background: var(--primary-500);
  color: white;
}

.keypad-btn.empty {
  cursor: default;
}

.keypad-btn.backspace {
  color: var(--neutral-500);
}

.keypad-btn.backspace:hover {
  color: var(--gray-black);
}

/* ==========================================================================
   Verification Page
   ========================================================================== */

.verification-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.verification-header {
  text-align: center;
  margin-bottom: 24px;
}

.verification-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--primary-500);
  margin-bottom: 8px;
}

.verification-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--neutral-500);
}

/* Success Banner */
.success-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  margin-top: -4px;
}

.success-text-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #EBF7FF;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  animation: slideUp 0.5s ease-out, pulseGlow 2s ease-in-out 0.6s;
}

.success-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.4s ease-out 0.3s both;
}

.success-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--primary-500);
  line-height: 1.4;
  white-space: nowrap;
}

/* Verification Form */
.verification-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-group.full-width {
  width: 100%;
}

/* Country Split Field */
.country-split-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}

.country-split-field:hover {
  border-color: var(--primary-400);
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(71, 120, 239, 0.1);
}

.country-split-field:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(71, 120, 239, 0.2);
  background: white;
}

.country-flag-section {
  width: 25%;
  min-width: 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.country-flag-section:hover {
  background: var(--neutral-100);
}

.country-flag-display img {
  border-radius: 3px;
  display: block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.flag-dropdown-arrow {
  color: var(--neutral-400);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.country-divider {
  width: 1px;
  height: 24px;
  background: var(--neutral-300);
  flex-shrink: 0;
}

.country-text-input {
  flex: 1;
  height: 100%;
  padding: 0 14px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--gray-black);
  background: transparent;
  border: none;
  outline: none;
}

.country-text-input::placeholder {
  color: var(--neutral-400);
}

/* Country Dropdown */
.country-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 200px;
  overflow-y: auto;
  z-index: 200;
  animation: dropdownSlide 0.2s ease-out;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--gray-black);
}

.country-option:hover {
  background: var(--primary-50);
}

.country-option.selected {
  background: var(--primary-100);
  color: var(--primary-600);
}

.country-option img {
  border-radius: 2px;
  flex-shrink: 0;
}

/* License Type Custom Dropdown */
.license-type-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  cursor: pointer;
}

.license-type-field:hover {
  border-color: var(--primary-400);
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(71, 120, 239, 0.1);
}

.license-type-field:focus-within,
.license-type-field.open {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(71, 120, 239, 0.2);
  background: white;
}

.license-type-display {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  cursor: pointer;
}

.license-type-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--gray-black);
}

.license-dropdown-arrow {
  color: var(--neutral-400);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.license-type-field:hover .license-dropdown-arrow {
  color: var(--primary-500);
}

.license-type-field.open .license-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--primary-500);
}

.license-type-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  animation: dropdownSlide 0.2s ease-out;
}

.license-option {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--gray-black);
  transition: all 0.15s ease;
}

.license-option:hover {
  background: var(--primary-50);
}

.license-option.selected {
  background: var(--primary-100);
  color: var(--primary-600);
}

/* Submit Section */
.submit-section {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
}

.btn-submit {
  width: 180px;
  height: 48px;
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-submit:hover:not(:disabled) {
  box-shadow: 0 0 0 3px rgba(71, 120, 239, 0.3);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ==========================================================================
   Verification Success Page
   ========================================================================== */

.success-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  margin-top: -20px;
}

.header-badge {
  margin-top: 30px;
  margin-bottom: 0;
}

.verify-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  animation: zoomBounce 0.8s ease-out forwards;
}

.success-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--primary-500);
  margin-bottom: 8px;
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

.success-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--neutral-500);
  margin-top: 0;
  margin-bottom: 24px;
  animation: fadeInUp 0.5s ease-out 0.3s both;
}

.badge-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: -26px 0 4px 0;
}

.badge-image {
  width: 300px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(71, 120, 239, 0.25));
  animation: badgeEntrance 1s ease-out 0.3s forwards;
  opacity: 0;
}

.btn-dashboard {
  width: 200px;
  height: 52px;
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out 0.6s both;
  box-shadow: 0 4px 15px rgba(71, 120, 239, 0.3);
  margin-top: auto;
  margin-bottom: 20px;
}

.btn-dashboard:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(71, 120, 239, 0.4);
}

/* ==========================================================================
   Verification Failed Page
   ========================================================================== */

.verification-failed-layout {
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.verification-failed-card-container {
  width: 50%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.verification-failed-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 35px 50px 25px 50px;
  width: 100%;
  max-width: 600px;
  height: calc(100vh - 30px);
  max-height: 980px;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.5s ease-out;
}

.verification-failed-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

/* Error Banner */
.error-banner {
  margin-top: 0;
  margin-bottom: 12px;
}

.error-banner-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #EF4444;
  line-height: 1.5;
}

.upload-link {
  color: var(--primary-500);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.upload-link:hover {
  color: var(--primary-600);
}

/* Upload Section */
.upload-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.upload-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #A4A3A3;
  background: #E6F2FD;
  border: 1px dashed #A4A3A3;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s ease;
}

.upload-btn:hover {
  background: #f5f5f5;
  border-color: #888;
  color: #888;
}

.upload-btn.error {
  border-color: #EF4444;
  color: #EF4444;
}

.uploaded-file-name {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  color: var(--neutral-600);
}

/* ==========================================================================
   Google Sign In Page
   ========================================================================== */

.google-signin-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 35px;
}

.google-signin-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 16px;
}

.google-signin-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--primary-500);
}

.google-signin-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--neutral-500);
  text-align: center;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 24px;
}

/* ==========================================================================
   Dashboard Layout
   ========================================================================== */

.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: #F5F7FA;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Sidebar */
.sidebar {
  width: 70px;
  background: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-item {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover {
  background: #E8EDF5;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.nav-item:hover svg {
  stroke: #3B82F6;
}

.nav-item.active {
  background: transparent;
}

.nav-item.icon-with-bg {
  width: 48px;
  height: 48px;
  overflow: visible;
}

.nav-item .nav-bg {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}

.nav-item .nav-icon {
  position: relative;
  width: 24px;
  height: 24px;
  z-index: 1;
}

.nav-item.icon-with-white-bg {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-item.icon-with-white-bg:hover {
  background: #DBEAFE;
}

.nav-icon-gray {
  width: 24px;
  height: 24px;
  filter: grayscale(100%) brightness(0.6);
}

/* Dashboard Main */
.dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Dashboard Header */
.dashboard-header {
  background: transparent;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  margin-right: auto;
  cursor: pointer;
}

.header-logo-img {
  height: 36px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: none;
  background: #E8EDF5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.notification-btn:hover {
  background: #DCE4F0;
}

.notification-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.notification-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  background: #EF4444;
  color: white;
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-dropdown {
  position: relative;
}

.profile-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: none;
  background: #E8EDF5;
  color: #1F2937;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-btn:hover {
  background: #DCE4F0;
}

.profile-initials {
  display: block;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 8px;
  min-width: 160px;
  z-index: 200;
  animation: dropdownSlide 0.2s ease-out;
  display: none;
}

.profile-menu.show {
  display: block;
}

.menu-item {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: #F3F4F6;
}

/* Dashboard Content */
.dashboard-content {
  padding: 12px 40px 40px 120px;
  display: grid;
  grid-template-columns: 900px auto;
  grid-template-rows: auto auto;
  gap: 24px;
  position: relative;
}

/* Cards Base Style */
.profile-card,
.security-card,
.connected-apps-card,
.whats-next-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: fadeIn 0.5s ease-out;
}

/* Profile Card */
.profile-card {
  grid-column: 1;
  grid-row: 1;
  width: 900px;
  box-sizing: border-box;
}

.profile-info {
  display: flex;
  gap: 28px;
}

.profile-avatar {
  width: 212px;
  height: 234px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #C1D7FF;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-details {
  flex: 1;
}

.profile-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.profile-name {
  font-size: 24px;
  font-weight: 600;
  color: #1F2937;
  margin: 0;
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #10B981;
  background: #ECFDF5;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #A7F3D0;
  font-weight: 500;
}

.license-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.license-label {
  font-size: 14px;
  color: #3B82F6;
  font-weight: 500;
}

.license-number {
  font-size: 14px;
  color: #3B82F6;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.license-number:hover {
  text-decoration: underline;
}

.specialty-badge {
  background: #3B82F6;
  color: white;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 500;
}

.location-row {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: #1F2937;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 18px;
  position: relative;
}

.location-row::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 1px;
  background: #D1E1FF;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-label {
  font-size: 14px;
  color: #6B7280;
  width: 100px;
  flex-shrink: 0;
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  color: #1F2937;
}

.verified-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #10B981;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 10px;
  border-radius: 14px;
  font-weight: 500;
}

/* Security Card */
.security-card {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 320px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 24px 0;
}

.security-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.security-divider {
  height: 0.5px;
  background: #E5E7EB;
  margin-bottom: 18px;
}

.security-label {
  font-size: 14px;
  color: #6B7280;
}

.security-value {
  font-size: 14px;
  color: #1F2937;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #10B981;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 12px;
  border-radius: 14px;
  font-weight: 500;
}

.view-security-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #3B82F6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-top: auto;
}

.view-security-btn:hover {
  text-decoration: underline;
}

/* Connected Apps Card */
.connected-apps-card {
  grid-column: 1;
  grid-row: 2;
  width: 900px;
  box-sizing: border-box;
  min-height: 480px;
}

.tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 14px;
}

.tab {
  background: transparent;
  border: none;
  font-size: 14px;
  color: #9CA3AF;
  cursor: pointer;
  padding: 0 8px;
  position: relative;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tab:hover {
  color: #6B7280;
}

.tab.active {
  color: #1F2937;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 16px);
  height: 3px;
  background: #4080F7;
  border-radius: 2px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.app-card {
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.app-card:hover {
  border-color: #3B82F6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.app-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-info {
  flex: 1;
}

.app-name {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 4px 0;
}

.app-last-used {
  font-size: 13px;
  color: #9CA3AF;
  margin: 0;
}

.app-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.access-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 14px;
  font-weight: 500;
}

.access-badge.verified {
  color: #10B981;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.access-badge.new {
  color: white;
  background: linear-gradient(135deg, #40C0F7 0%, #0054EA 100%);
  border: none;
  position: relative;
  overflow: hidden;
  padding: 5px 16px;
}

.access-badge.new::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shine 2s infinite;
}

.app-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #3B82F6;
  color: white;
  border: none;
}

.app-btn:hover {
  background: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.manage-apps-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #3B82F6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.manage-apps-btn:hover {
  text-decoration: underline;
}

/* What's Next Card */
.whats-next-card {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-width: 320px;
  box-sizing: border-box;
}

.next-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.next-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: #F9FAFB;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.next-item:hover {
  background: #F3F4F6;
  transform: translateX(4px);
}

.next-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EBF5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.next-info {
  flex: 1;
}

.next-title {
  font-size: 14px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 4px 0;
}

.next-description {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
  line-height: 1.4;
}

.next-action {
  background: transparent;
  border: none;
  color: #3B82F6;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
}

.next-action:hover {
  text-decoration: underline;
}

/* Security Alert Popup */
.security-alert-popup {
  position: fixed;
  top: 80px;
  right: 40px;
  background: linear-gradient(180deg, #FFE5E5 0%, #FFF0F0 30%, #FFFFFF 60%, #FFFFFF 100%);
  border-radius: 12px;
  padding: 16px 20px;
  display: none;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 0 0 2px white;
  z-index: 100;
  min-width: 320px;
  max-width: 400px;
  animation: slideIn 0.3s ease;
  cursor: pointer;
}

.security-alert-popup.show {
  display: flex;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  color: #9CA3AF;
  cursor: pointer;
}

.popup-close:hover {
  color: #1F2937;
}

.popup-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.popup-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.popup-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #EF4444;
  margin: 0 0 4px 0;
}

.popup-content p {
  font-size: 13px;
  color: #1F2937;
  margin: 0;
}

/* ==========================================================================
   Security Account Page
   ========================================================================== */

.security-layout {
  min-height: 100vh;
  background: #F5F7FA;
}

.security-main {
  min-height: 100vh;
}

.sa-content {
  position: relative;
  padding: 12px 40px 40px 120px;
}

.sa-header-section {
  margin-bottom: 24px;
}

.sa-title {
  font-size: 24px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 8px 0;
}

.sa-subtitle {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
}

/* Grid Layout */
.sa-grid {
  display: grid;
  grid-template-columns: 900px auto;
  gap: 24px;
  align-items: start;
}

.sa-left-column,
.sa-right-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sa-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: fadeIn 0.5s ease-out;
}

/* Password Card */
.password-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.password-icon {
  width: 48px;
  height: 48px;
  background: #EBF5FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.password-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 4px 0;
}

.password-date {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
}

.password-recommendation {
  font-size: 14px;
  color: #6B7280;
  margin: 0 0 16px 0;
  margin-left: 64px;
  line-height: 1.5;
}

.change-password-btn {
  background: #3B82F6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  float: right;
}

.change-password-btn:hover {
  background: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Sessions Card */
.sessions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sessions-header .card-title {
  margin: 0;
}

.sign-out-all {
  background: none;
  border: none;
  color: #EF4444;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sign-out-all:hover {
  text-decoration: underline;
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.session-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
}

.session-item:last-child {
  border-bottom: none;
}

.session-icon {
  width: 40px;
  height: 40px;
  background: #F3F4F6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.session-info {
  flex: 1;
}

.session-info h4 {
  font-size: 16px;
  font-weight: 500;
  color: #1F2937;
  margin: 0 0 4px 0;
}

.session-info p {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
}

.session-status {
  cursor: pointer;
}

.status-active {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #10B981;
  font-size: 13px;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-dot.off {
  background: #D1D5DB;
  animation: none;
}

.status-inactive {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9CA3AF;
  font-size: 13px;
}

/* Activity Card */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 0.5px solid #E5E7EB;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon.success {
  background: #ECFDF5;
}

.activity-icon.warning {
  background: #FEF3C7;
}

.activity-icon.error {
  background: #FEE2E2;
}

.activity-info {
  flex: 1;
}

.activity-info h4 {
  font-size: 16px;
  font-weight: 500;
  color: #1F2937;
  margin: 0 0 4px 0;
}

.activity-info p {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
}

.activity-time {
  font-size: 12px;
  color: #9CA3AF;
  white-space: nowrap;
}

/* Alert Card */
.alert-card {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.alert-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.alert-title {
  font-size: 16px;
  font-weight: 600;
  color: #EF4444;
  margin: 0 0 4px 0;
}

.alert-count {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
}

.alert-content {
  margin-bottom: 20px;
}

.alert-content h5 {
  font-size: 16px;
  font-weight: 500;
  color: #1F2937;
  margin: 0 0 8px 0;
}

.alert-content p {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

.alert-actions {
  display: flex;
  gap: 12px;
}

.review-btn,
.change-pwd-btn {
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-btn {
  background: #3B82F6;
  color: white;
  border: none;
}

.review-btn:hover {
  background: #2563EB;
  transform: translateY(-2px);
}

.change-pwd-btn {
  background: #EF4444;
  color: white;
  border: none;
}

.change-pwd-btn:hover {
  background: #DC2626;
  transform: translateY(-2px);
}

/* ==========================================================================
   Profile Page
   ========================================================================== */

.profile-page-layout {
  min-height: 100vh;
  background: #F5F7FA;
}

.profile-page-main {
  min-height: 100vh;
}

.pp-card {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 40px 60px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: fadeInUp 0.5s ease-out;
}

.pp-welcome {
  text-align: center;
  margin-bottom: 32px;
}

.pp-welcome h1 {
  font-size: 24px;
  font-weight: 500;
  color: #1F2937;
  margin: 0 0 8px 0;
}

.pp-welcome p {
  font-size: 18px;
  color: #6B7280;
  margin: 0;
}

.pp-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.pp-avatar {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 16px;
}

.pp-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #C1D7FF;
}

.pp-avatar-edit {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: #3B82F6;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pp-avatar-edit:hover {
  background: #2563EB;
  transform: scale(1.1);
}

.pp-name {
  font-size: 22px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 12px 0;
}

.pp-specialty {
  display: inline-block;
  background: #3B82F6;
  color: white;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.pp-info-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 24px 0;
}

.pp-info-item {
  display: flex;
  gap: 8px;
}

.pp-info-label {
  font-size: 16px;
  font-weight: 500;
  color: #6B7280;
}

.pp-info-value {
  font-size: 16px;
  font-weight: 500;
  color: #1F2937;
}

.pp-education {
  text-align: center;
  margin-bottom: 24px;
}

.pp-divider {
  border-top: 1px solid #E5E7EB;
  padding-top: 16px;
  margin-bottom: 24px;
  display: flex;
  justify-content: flex-end;
}

.pp-edit-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #3B82F6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.pp-edit-btn:hover {
  color: #2563EB;
}

.pp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pp-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-form-group.full-width {
  grid-column: 1 / -1;
}

.pp-form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.pp-form-group input,
.pp-form-group select {
  padding: 14px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-size: 14px;
  color: #1F2937;
  background: white;
  transition: all 0.3s ease;
}

.pp-form-group input:hover:not(:disabled),
.pp-form-group select:hover:not(:disabled) {
  border-color: #3B82F6;
  background: #F8FAFF;
}

.pp-form-group input:focus,
.pp-form-group select:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pp-form-group input:disabled,
.pp-form-group select:disabled {
  background: #F9FAFB;
  cursor: not-allowed;
  color: #9CA3AF;
}

.pp-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.pp-flag {
  position: absolute;
  left: 16px;
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  z-index: 1;
}

.pp-select-wrapper select {
  width: 100%;
  padding-left: 52px;
  appearance: none;
  cursor: pointer;
}

.pp-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}

.pp-cancel-btn {
  padding: 12px 24px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: white;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.pp-cancel-btn:hover {
  background: #F3F4F6;
}

.pp-save-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: #3B82F6;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.pp-save-btn:hover {
  background: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   Connected Apps Page
   ========================================================================== */

.connected-apps-layout {
  display: flex;
  min-height: 100vh;
  background: #F5F7FA;
}

.ca-header-section {
  margin-bottom: 20px;
}

.ca-title {
  font-size: 24px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 8px 0;
}

.ca-subtitle {
  font-size: 14px;
  color: #9CA3AF;
  margin: 0;
}

.ca-card {
  background: white;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ca-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 14px;
}

.ca-tab {
  background: transparent;
  border: none;
  font-size: 14px;
  color: #9CA3AF;
  cursor: pointer;
  padding: 0 8px;
  position: relative;
  font-weight: 500;
}

.ca-tab:hover {
  color: #6B7280;
}

.ca-tab.active {
  color: #1F2937;
}

.ca-tab.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 16px);
  height: 3px;
  background: #4080F7;
  border-radius: 2px;
}

.ca-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ca-app-card {
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 130px;
}

.ca-app-card:hover {
  border-color: #3B82F6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.ca-app-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ca-app-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ca-app-info {
  flex: 1;
}

.ca-app-name {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 4px 0;
}

.ca-app-last-used {
  font-size: 13px;
  color: #9CA3AF;
  margin: 0;
}

.ca-app-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
  min-height: 82px;
}

.ca-verified-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #10B981;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
  white-space: nowrap;
  margin-top: 10px;
}

.ca-buttons {
  display: flex;
  gap: 8px;
}

.ca-btn-continue {
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #3B82F6;
  color: white;
  border: none;
}

.ca-btn-continue:hover {
  background: #2563EB;
  transform: translateY(-2px);
}

.ca-btn-remove {
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  color: #3B82F6;
  border: 1px solid #3B82F6;
}

.ca-btn-remove:hover {
  background: #EBF5FF;
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1400px) {

  .dashboard-content,
  .sa-grid {
    grid-template-columns: 1fr 340px;
  }
}

@media (max-width: 1200px) {

  .dashboard-content,
  .sa-grid {
    grid-template-columns: 1fr;
  }

  .profile-card,
  .connected-apps-card {
    width: 100%;
  }
}

@media (max-width: 1024px) {

  .auth-layout,
  .verification-failed-layout {
    background-position: center;
    justify-content: center;
  }

  .auth-card-container,
  .verification-failed-card-container {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 900px) {

  .sidebar,
  .sa-sidebar,
  .ca-sidebar {
    display: none;
  }

  .dashboard-content,
  .sa-content,
  .ca-content {
    padding-left: 40px;
  }

  .profile-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .apps-grid,
  .ca-apps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .back-btn {
    right: -20px;
  }

  .form-row,
  .pp-form-row {
    flex-direction: column;
    gap: 14px;
  }

  .pp-info-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

@media (max-width: 600px) {

  .dashboard-header,
  .pp-header,
  .sa-header,
  .ca-header {
    padding: 16px 20px;
  }

  .dashboard-content,
  .sa-content,
  .ca-content {
    padding: 12px 20px 40px 20px;
  }

  .pp-card {
    margin: 0 20px;
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .back-btn {
    right: 0;
    top: -20px;
  }

  .otp-inputs {
    gap: 6px;
  }

  .otp-input {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* ==========================================================================
   Med Learning Details Page
   ========================================================================== */

.med-learning-layout {
  min-height: 100vh;
  background: #F7F8FC;
}

.med-learning-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ml-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #F7F8FC;
}

.ml-content {
  flex: 1;
  position: relative;
  padding: 0 40px 40px 120px;
}

.ml-sidebar {
  width: 70px;
  background: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ml-sidebar .nav-icon-white {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  filter: brightness(0) invert(1);
}

.ml-header-section {
  margin-bottom: 20px;
}

.ml-title {
  font-size: 24px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 8px 0;
}

.ml-subtitle {
  font-size: 14px;
  color: #9CA3AF;
  margin: 0;
}

.ml-cards-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ml-top-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.ml-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #E5E7EB;
}

.ml-card-signin {
  max-width: 900px;
}

.ml-card-delete {
  width: 420px;
}

.ml-card-access {
  max-width: 900px;
}

.ml-card-title {
  font-size: 18px;
  font-weight: 500;
  color: #1F2937;
  margin: 0 0 20px 0;
}

.ml-signin-content {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.ml-onehcp-icon {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ml-onehcp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ml-signin-info h4 {
  font-size: 16px;
  font-weight: 500;
  color: #1F2937;
  margin: 0 0 8px 0;
}

.ml-signin-info p {
  font-size: 16px;
  font-weight: 400;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

.ml-profile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  margin-left: 64px;
}

.ml-profile-item span {
  font-size: 14px;
  color: #6B7280;
}

.ml-delete-header {
  display: flex;
  gap: 16px;
}

.ml-delete-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ml-delete-content {
  flex: 1;
}

.ml-delete-content .ml-card-title {
  margin-bottom: 8px;
}

.ml-delete-content p {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

.ml-access-desc {
  font-size: 14px;
  color: #6B7280;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.ml-access-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.ml-card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.ml-btn-details,
.ml-btn-delete {
  padding: 10px 24px;
  border-radius: 24px;
  border: 1px solid #3B82F6;
  background: white;
  color: #3B82F6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ml-btn-details:hover,
.ml-btn-delete:hover {
  background: #EFF6FF;
}

@media (max-width: 1200px) {
  .ml-top-row {
    grid-template-columns: 1fr;
  }

  .ml-card-signin,
  .ml-card-delete,
  .ml-card-access {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ml-sidebar {
    display: none;
  }

  .ml-content {
    padding-left: 40px;
  }
}

/* ==========================================================================
   Chatbot Demo Page
   ========================================================================== */

.chatbot-demo-page {
  min-height: 100vh;
  background: #f5f5f5;
  position: relative;
}

/* Pharmascape Mock Website */
.pharmascape-website {
  min-height: 100vh;
  background: #ffffff;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.pharma-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: #fff;
}

.pharma-logo {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.logo-pharma {
  color: #2196F3;
  font-style: italic;
}

.logo-scape {
  color: #1a1a1a;
}

.pharma-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.pharma-nav .nav-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.pharma-nav .nav-link:hover,
.pharma-nav .nav-link.active {
  color: #2196F3;
}

.dropdown-arrow {
  font-size: 12px;
  margin-left: 4px;
}

.pharma-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-btn,
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: #333;
}

.auth-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.auth-link:hover {
  color: #2196F3;
}

.pharma-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 0 48px;
}

.pharma-main {
  padding: 24px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.today-section {
  margin-bottom: 32px;
}

.today-title {
  font-family: 'Georgia', serif;
  font-size: 42px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.category-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.category-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.category-link:hover {
  color: #2196F3;
}

.category-divider {
  color: #ccc;
  font-size: 12px;
}

.all-filter {
  margin-left: auto;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
}

.checkmark {
  color: #333;
}

.featured-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.featured-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.featured-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-title {
  font-family: 'Georgia', serif;
  font-size: 28px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 12px;
}

.featured-bar {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2196F3, #64B5F6);
  margin-bottom: 16px;
}

.featured-description {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-article {
  display: flex;
  gap: 16px;
}

.sidebar-content {
  flex: 1;
}

.sidebar-title {
  font-family: 'Georgia', serif;
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.sidebar-bar {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #2196F3, #64B5F6);
}

.sidebar-image img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.sidebar-article.highlight {
  flex-direction: column;
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
}

.article-category {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #E53935;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  color: #666;
  margin-top: 12px;
}

.latest-section {
  margin-top: 48px;
}

.latest-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.latest-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 1px;
}

.view-all {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #2196F3;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all:hover {
  text-decoration: underline;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.news-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-article {
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.news-article.with-image {
  display: flex;
  gap: 16px;
}

.news-content {
  flex: 1;
}

.news-badge {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #2196F3;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.news-title {
  font-family: 'Georgia', serif;
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 8px;
  cursor: pointer;
}

.news-title:hover {
  color: #2196F3;
}

.news-bar {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #2196F3, #64B5F6);
  margin-bottom: 8px;
}

.news-source {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  color: #888;
}

.news-image img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.news-divider-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  color: #888;
  padding: 8px 0;
}

/* Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 360px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease-out;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #4778EF 0%, #6C40F7 100%);
  color: white;
}

.chatbot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-logo {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-name {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.chatbot-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.chatbot-close:hover {
  opacity: 1;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 320px;
  overflow-y: auto;
  background: #fafbfc;
}

.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.message p {
  margin: 0;
}

.message.bot {
  background: white;
  color: #333;
  align-self: flex-start;
  border: 1px solid #e8e8e8;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.message.user {
  background: linear-gradient(135deg, #4778EF 0%, #5a88f5 100%);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-input-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-top: 1px solid #eee;
}

.chatbot-input-area input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  background: #f8f9fa;
  transition: all 0.2s;
}

.chatbot-input-area input:focus {
  outline: none;
  border-color: #4778EF;
  background: white;
  box-shadow: 0 0 0 3px rgba(71, 120, 239, 0.1);
}

.chatbot-input-area input::placeholder {
  color: #999;
}

.send-btn {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #4778EF 0%, #6C40F7 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(71, 120, 239, 0.4);
}

.send-btn:active {
  transform: scale(0.95);
}

.chatbot-footer {
  padding: 12px 20px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}

.footer-links a {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  color: #4778EF;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #6C40F7;
  text-decoration: underline;
}

.powered-by {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  color: #999;
  margin: 0;
}

/* Chat FAB */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4778EF 0%, #6C40F7 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(71, 120, 239, 0.4);
  z-index: 1000;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: chatPulse 2s infinite;
}

@keyframes chatPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(71, 120, 239, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(71, 120, 239, 0.6);
  }
}

.chat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(71, 120, 239, 0.5);
}

.chat-fab:active {
  transform: scale(0.95);
}

@media (max-width: 1200px) {
  .pharma-header {
    padding: 16px 24px;
  }

  .pharma-main {
    padding: 24px;
  }

  .pharma-divider {
    margin: 0 24px;
  }

  .featured-section {
    grid-template-columns: 1fr;
  }

  .featured-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pharma-nav {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .chatbot-widget {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 80px;
  }
}