/* ========================================================
   TRANG XÁC THỰC OTP - STYLING
======================================================== */

.verify-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f8fafc;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0px, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(147, 51, 234, 0.06) 0px, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(241, 245, 249, 1) 0%, rgba(248, 250, 252, 1) 100%);
  background-attachment: fixed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 20px;
}

.verify-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: 36px 40px;
  transition: all 0.3s ease;
}

.verify-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
}

/* Custom Language Dropdown */
.custom-language-dropdown {
  position: relative;
}

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle-btn:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.lang-toggle-btn i:first-child {
  color: #64748b;
  font-size: 13px;
}

.lang-toggle-btn i:last-child {
  color: #94a3b8;
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.custom-language-dropdown:hover .lang-toggle-btn i:last-child {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  width: 180px;
  display: none;
  z-index: 50;
  overflow: hidden;
  padding: 4px;
}

.custom-language-dropdown:hover .lang-menu {
  display: block;
}

.lang-item {
  padding: 8px 12px;
  font-size: 13px;
  color: #334155;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lang-item:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.lang-item.active {
  background-color: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

/* Title & Subtitle */
.verify-title-wrapper {
  margin-bottom: 24px;
}

.verify-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.03em;
}

.verify-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* OTP 6 Inputs Container */
.verify-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.otp-inputs-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.otp-input {
  width: 48px;
  height: 52px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}

.otp-input:focus {
  background-color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Submit Button */
.btn-submit {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Error / Success box */
.verify-error {
  padding: 12px 14px;
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: #dc2626;
  font-size: 13px;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 16px;
}

.verify-error.hidden {
  display: none;
}

.verify-success {
  padding: 12px 14px;
  background-color: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #16a34a;
  font-size: 13px;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 16px;
}

.verify-success.hidden {
  display: none;
}

/* Footer */
.verify-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 24px;
  font-size: 13px;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.footer-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}