/* RS Custom Portal Styles */
.xk9m2n7p {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 20px;
  font-family: 'Rubik', sans-serif;
  flex: 1;
  flex-direction: column;
}

.q5w8r3t6 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.h7j4k9m2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

/* Main Form Container */
.p8n5v2b7 {
  background-color: #ffffff;
  max-width: 28rem;
  width: 100%;
  margin: 1rem;
  padding: 3.5rem;
  border: 2px solid #3B82F6;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Heading */
.p8n5v2b7 h1 {
  font-size: 1.5rem;
  /* text-2xl */
  line-height: 2rem;
  font-weight: 700;
  /* font-bold */
  text-align: center;
  /* text-center */
  margin-bottom: 2rem;
  /* mb-8 */
}

/* Form Fields Container */
.f3c6y9z1 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* space-y-5 */
}

/* Input Fields */
.f3c6y9z1 input[type="text"],
.f3c6y9z1 input[type="email"],
.f3c6y9z1 input[type="tel"] {
  width: 100%;
  padding: 0.75rem 1rem;
  /* px-4 py-3 */
  border: 1px solid #D1D5DB;
  /* border border-gray-300 */
  border-radius: 0.5rem;
  /* rounded-lg */
  text-align: right;
  color: #111827;
  /* text-gray-900 */
  transition: all 0.2s ease-in-out;
}

.f3c6y9z1 input::placeholder {
  color: #6B7280;
  /* placeholder-gray-500 */
}

.f3c6y9z1 input:focus {
  outline: none;
  border-color: transparent;
  /* focus:border-transparent */
  --tw-ring-color: #3B82F6;
  /* focus:ring-blue-500 */
  box-shadow: 0 0 0 2px var(--tw-ring-color);
  /* focus:ring-2 */
}

/* Toggle Buttons Container */
.s2x7n4k8 {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.d4m8t1q5 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

h5.swqr3231 {
  font-size: 14px;
  text-align: center;
  margin-bottom: 1rem;
}

/* Custom styles for radio button labels */
/* This hides the actual radio button */
input[type="radio"].peer {
  display: none;
}

/* This styles the label (the button) */
.w7x2n6k9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 7rem;
  border: 1px solid #000000;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  background-color: white;
  color: #374151;
  /* text-gray-700 */
}

/* This styles the label when the associated radio button is checked */
input[type="radio"].peer:checked+.w7x2n6k9 {
  border-color: #000000;
  background-color: #5381FC;
  color: #FFFFFF;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

input[type="radio"].peer:hover+.w7x2n6k9 {
  border-color: #5381FC;
  background-color: #5381FC;
  color: #FFFFFF;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.w7x2n6k9 svg {
  width: 2rem;
  /* w-10 */
  height: 2rem;
  /* h-10 */
  margin-bottom: 0.5rem;
  /* mb-2 */
}

.w7x2n6k9 span {
  font-weight: 600;
  /* font-semibold */
}

.g5b9s4t8 {
  padding: 0 0.75rem;
}

.r2y7e3m1 {
  font-weight: 500;
  color: #EF4444;
}

hr.l8v3x9n4 {
  border: 0;
  border-top: 1px solid #E5E7EB;
  /* border-gray-200 */
  margin: 1.5rem 0;
  /* mb-6 */
}

/* Submit Button */
.a6t1w5p9 {
  width: 100%;
  background-color: #5381FC;
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.a6t1w5p9:hover {
  background-color: #1D4ED8;
}

.a6t1w5p9[disabled] {
  background-color: #A3BCFF;
}

.a6t1w5p9:focus {
  outline: none;
  --tw-ring-color: #3B82F6;
  /* focus:ring-blue-500 */
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  box-shadow: 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color), 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  /* focus:ring-2 focus:ring-offset-2 */
}

/* Dashboard Styles */
.z3h8c2n7 {
  background: #f5f5f5;
}

.m4q9b6v1 {
  max-width: 1235px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

.k7s2x5t9 {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  direction: ltr;
}

.otp-message {
  text-align: center;
  margin: 1rem 0 2rem;
  height: 32px;
}

.y1p6w8n3 {
  width: 3.5rem !important;
  /* 56px */
  height: 3.5rem;
  /* 56px */
  text-align: center;
  font-size: 1.5rem;
  /* 24px */
  font-weight: 700;
  color: #111827;
  /* Replaced box with dash style */
  border: none !important;
  border-bottom: 2px solid #374151 !important;
  /* gray-700 */
  background: transparent;
  border-radius: 0 !important;
  /* No radius for underline */
  transition: all 0.2s ease-in-out !important;
  padding-left: 0.5rem !important;
  /* Center the single character */
  padding-right: 0.5rem !important;
}

.y1p6w8n3:focus {
  outline: none;
  border-bottom-color: #3B82F6;
  /* blue-500 */
  box-shadow: none;
  /* No ring shadow */
}

.j9d4m7q2 {
  display: flex;
  flex-direction: row-reverse;
  /* Flips order to match LTR visual */
  justify-content: center;
  gap: 1rem;
  /* 16px */
  margin-bottom: 1.5rem;
  /* mb-6 */
}

/* Override w-full for side-by-side buttons */
.j9d4m7q2 .a6t1w5p9,
.j9d4m7q2 .u3f8h5n2 {
  width: auto;
  padding-left: 2rem;
  /* 32px */
  padding-right: 2rem;
  /* 32px */
}

/* New Outline Button Style */
.u3f8h5n2 {
  background-color: #ffffff;
  color: #5381FC;
  /* text-blue-600 */
  font-weight: 700;
  padding: 0.75rem 1rem;
  /* py-3 px-4 */
  border: 2px solid #5381FC;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.u3f8h5n2:hover {
  background-color: #EFF6FF;
  /* bg-blue-50 */
}

.u3f8h5n2:focus {
  outline: none;
  --tw-ring-color: #3B82F6;
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  box-shadow: 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color), 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
}

/* Divider Line (Same as before) */
hr {
  border: 0;
  border-top: 1px solid #E5E7EB;
  /* border-gray-200 */
}

/* Profile Header */
.c8x4k1v6 {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.b2n9s7t4 {
  flex-shrink: 0;
}

.e5q3w1m8 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5B9CF5 0%, #4A90E2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
}

.t6p2k9h4 {
  flex-grow: 1;
  text-align: right;
}

.n8v5b3x7 {
  margin: 0 0 4px 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.f1l7w4r9 {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Info Cards Section */
.s4m1n8y6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.h9c3v5z2 {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.i7x2d9p5 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E9ECEF;
}

.o4w8k3t1 {
  font-size: 20px;
}

.g6n2q5h9 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.v3b7z1m4 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p9s4x6y2 {
  color: #5B9CF5;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.p9s4x6y2:hover {
  color: #4A90E2;
  text-decoration: underline;
}

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

.r8j3m6v1 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px;
  background: #F8F9FA;
  border-radius: 6px;
}

.x4n7q2h9 {
  min-width: 50px;
  color: #666;
}

.d1s5w8p3 {
  flex-grow: 1;
  color: #333;
  font-weight: 500;
}

.a9c2v6b4 {
  font-size: 16px;
}

/* Credit Score Cards */
.f6t3k9x5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.y7n2h8q1 {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}

.y7n2h8q1:hover {
  transform: translateY(-2px);
}

.m3p8w5t9 {
  font-size: 36px;
  font-weight: 700;
  color: #22C55E;
  margin-bottom: 8px;
}

.m3p8w5t9.rejected {
  color: #DC3545;
}

.b4v1x7c6 {
  font-size: 13px;
  color: #666;
  line-height: 1.3;
}

/* Actions Section */
.q9k4n2s7 {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.z2h6w3t8 {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.e5v9l1n4 {
  background: #5B9CF5;
  color: white !important;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.r3x7m2k9 {
  background: #DC4C64;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.i8q4p6d1 {
  background: transparent;
  color: #DC4C64;
  border: 0 none;
  text-decoration: underline;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.e5v9l1n4:hover {
  background: #4A90E2;
}

.w6n1h9b5 {
  flex-grow: 1;
  display: flex;
  gap: 8px;
  position: relative;
}

.w6n1h9b5 input {
  flex-grow: 1;
  padding: 10px 45px 10px 16px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
}

.w6n1h9b5 input:focus {
  outline: none;
  border-color: #5B9CF5;
}

.t5c8v3x2 {
  padding: 16px;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  border: 0 none;
}

.t5c8v3x2:hover {
  background: #EEEEEE;
}

/* Filter Tabs */
.j7z9w4k2 {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.s3q1m7n6 {
  padding: 8px 20px;
  border: 1px solid #E0E0E0;
  background: white;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.s3q1m7n6:hover {
  background: #F5F5F5;
}

.s3q1m7n6.active {
  background: #5B9CF5;
  color: white;
  border-color: #5B9CF5;
}

/* Data Table */
.u2x5k9p7 {
  overflow-x: auto;
}

.g1h4n8v6 {
  display: none;
}

.c7b3w9m4 {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.c7b3w9m4 thead {
  border-bottom: 2px solid #D5D9DD;
}

.c7b3w9m4 th {
  padding: 12px;
  text-align: right;
  font-weight: 600;
  color: #666;
  border: none !important;
}

.c7b3w9m4 th.sortable {
  user-select: none;
  transition: background 0.2s;
}

.c7b3w9m4 th.sortable:hover {
  background: #E9ECEF;
}

.c7b3w9m4 th .sort-icon {
  margin-right: 4px;
  font-size: 12px;
  color: #999;
}

.c7b3w9m4 td {
  padding: 14px 12px;
  border: none;
  color: #333;
}

.c7b3w9m4 tbody tr:hover {
  background: #F8F9FA;
}

.n9t2v8x4 {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.h5s1m9k3 {
  background: #D4EDDA;
  color: #22C55E;
}

.p7w2x6q8 {
  background: #F8D7DA;
  color: #DC3545;
}

.v4b8l3n1 {
  background: #FFF3CD;
  color: #FFC107;
}

.z6m9c2t5 {
  background: #FFE5CC;
  color: #FF9800;
}

/* Info Section Bottom */
.d8q3w7j2 {
  margin-top: 30px;
}

.x1n5k4h9 {
  font-size: 36px;
  font-weight: 700;
  text-align: right;
  margin: 0 0 24px 0;
  color: #333;
}

.y7v3p9b6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.f2t8s4w1 {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}

.k9l6v2x5 {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

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

.r8m1b5t3 {
  padding: 24px;
  flex: 1;
}

.w4c9p2x7 {
  display: inline-block;
  background: #5B9CF5;
  color: white;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.f2t8s4w1 h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #333;
  line-height: 1.4;
}

.q5n8v1h6 {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Mobile Request Cards */
.l7x3k6m2 {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
}

.a4n9s2v8 {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.a4n9s2v8.h5s1m9k3 {
  background: #D4EDDA;
  color: #22C55E;
}

.a4n9s2v8.p7w2x6q8 {
  background: #F8D7DA;
  color: #DC3545;
}

.a4n9s2v8.v4b8l3n1 {
  background: #FFF3CD;
  color: #FFC107;
}

.a4n9s2v8.z6m9c2t5 {
  background: #FFE5CC;
  color: #FF9800;
}

.t1p6c9h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #333;
}

.b8w4n7v2 {
  font-size: 14px;
  color: #666;
  margin: 0 0 12px 0;
}

.m5q2x8k1 {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Loading States */
.xk9m2n7p.loading .a6t1w5p9 {
  opacity: 0.7;
  cursor: not-allowed;
}

.xk9m2n7p.loading .a6t1w5p9:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

.i3v9w7n4 {
  display: none;
}

.pagination-btn {
  padding: 10px 20px;
  border: 1px solid #E0E0E0;
  background: white;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.pagination-btn:disabled {
  background-color: #f1f1f1;
}

#step2 {
  padding: 2.5rem;
}

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

/* Step Animation */
.s6h2x9b4,
.k8p3v1m7 {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.3s ease;
}

.s6h2x9b4.t4n7w2q5 {
  opacity: 0;
  transform: translateX(-20px);
}

.k8p3v1m7.l9c5h8x2 {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .q5w8r3t6 {
    padding: 20px 10px;
  }

  .xk9m2n7p {
    padding: 16px;
    min-height: 300px;
  }

  .m4q9b6v1 {
    padding: 15px 0px;
    display: flex;
    flex-direction: column;
  }

  .profile-actions .e5v9l1n4 {
    display: none;
  }

  .y1p6w8n3 {
    width: 45px !important;
    height: 45px;
    font-size: 20px;
  }

  .i3v9w7n4 {
    display: block;
    padding: 1rem 0;
    text-align: left;
  }

  /* Dashboard Mobile */
  .z3h8c2n7 {
    padding: 12px;
  }

  .c8x4k1v6 {
    text-align: center;
    padding: 20px;
    box-shadow: none;
  }

  .e5q3w1m8 {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .n8v5b3x7 {
    font-size: 20px;
  }

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

  .f6t3k9x5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .y7n2h8q1 {
    padding: 16px;
  }

  .m3p8w5t9 {
    font-size: 28px;
  }

  .b4v1x7c6 {
    font-size: 12px;
  }

  .q9k4n2s7 {
    padding: 0;
  }

  .z2h6w3t8 {
    flex-direction: column;
    padding: 0 1rem;
    margin: 0;
  }

  .e5v9l1n4 {
    width: 100%;
  }

  .w6n1h9b5 {
    width: 100%;
    margin: 1rem;
  }

  .j7z9w4k2 {
    flex-wrap: wrap;
  }

  /* Hide table, show cards on mobile */
  .desktop-table {
    display: none;
  }

  .g1h4n8v6 {
    display: block;
  }

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

  .x1n5k4h9 {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .q5w8r3t6 {
    padding: 10px 5px;
    background: white;
    padding: 0 15px;
  }

  .xk9m2n7p {
    padding: 12px;
  }

  .h7j4k9m2 {
    display: block;
  }

  .p8n5v2b7 {
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .y1p6w8n3 {
    width: 40px !important;
    height: 40px;
    font-size: 18px;
  }

  .z3h8c2n7 {
    padding: 8px;
  }

  .e5q3w1m8 {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .profile-name {
    font-size: 18px;
  }

  .profile-line {
    font-size: 13px;
  }

  .credit-score-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .score-card {
    padding: 12px;
  }

  .score-value {
    font-size: 24px;
  }

  /* Hide table, show cards on mobile */
  .desktop-table {
    display: none;
  }

  .g1h4n8v6 {
    display: block;
  }

  .c7b3w9m4 th,
  .c7b3w9m4 td {
    padding: 6px 4px;
    font-size: 11px;
  }

  .n9t2v8x4 {
    font-size: 10px;
    padding: 3px 8px;
  }

  .f2t8s4w1 {
    padding: 16px;
  }
}

/* Error Popup Modal Styles */
.error-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-in-out;
}

.error-popup-container {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 90%;
  margin: 20px;
  animation: slideUp 0.3s ease-out;
}

.error-popup-content {
  padding: 2rem;
  text-align: center;
}

.error-popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: #EF4444;
}

.error-popup-icon svg {
  width: 100%;
  height: 100%;
}

#error-popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 1rem;
}

#error-popup-message {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: right;
}

.error-main-text {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.6;
}

.error-section {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #F9FAFB;
  border-radius: 0.5rem;
  border-right: 3px solid #3B82F6;
}

.error-section:last-of-type {
  margin-bottom: 0;
}

.error-bold {
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.error-section p {
  margin-bottom: 0.75rem;
  color: #6B7280;
  line-height: 1.5;
}

.error-section p:last-child {
  margin-bottom: 0;
}

.error-link {
  display: inline-block;
  color: #3B82F6;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background-color: #EFF6FF;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  margin-top: 0.5rem;
}

.error-link:hover {
  background-color: #DBEAFE;
  color: #2563EB;
  transform: translateY(-1px);
}

.error-phone {
  display: inline-block;
  color: #10B981;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0.5rem 1rem;
  background-color: #ECFDF5;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  margin-top: 0.5rem;
  direction: ltr;
}

.error-phone:hover {
  background-color: #D1FAE5;
  color: #059669;
  transform: translateY(-1px);
}

.error-popup-btn {
  background-color: #3B82F6;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-size: 1rem;
  width: 100%;
  max-width: 200px;
}

.error-popup-btn:hover {
  background-color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

@media (max-width: 640px) {
  .error-popup-container {
    max-width: 350px;
  }

  .error-popup-content {
    padding: 1.5rem;
  }

  #error-popup-title {
    font-size: 1.25rem;
  }

  #error-popup-message {
    font-size: 0.875rem;
  }

  .error-main-text {
    font-size: 0.875rem;
  }

  .error-section {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .error-bold {
    font-size: 0.875rem;
  }

  .error-section p {
    font-size: 0.875rem;
  }

  .error-link,
  .error-phone {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }

  .error-popup-icon {
    width: 56px;
    height: 56px;
  }
}