.tw-lem-wrap {
    position: relative;
}

.tw-lem-support-li a,
.tw-lem-tutorial-li a {
    padding: 2px 3px 3px 25px !important;
}

.tw-lem-support-quick-links {
  margin: 25px 0;
}

.tw-lem-support-quick-links h2 {
  margin: 0 0 20px 0;
  font-size: 20px;
  color: #1e293b;
}

.tw-lem-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
}

.tw-lem-stat-card {
  background: #fff;
  border-radius: 12px;
  display: flex;
  padding: 25px;
  transition: all 0.3s ease;
  border: 2px solid #1460ac;
}

.tw-lem-stat-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border: 2px solid #fff;
}

.tw-lem-stat-card .stat-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1460ac 0%, #1e7ecc 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.tw-lem-stat-card .stat-icon .dashicons {
  font-size: 32px;
  width: 32px;
  height: 32px;
  color: #fff;
}

.tw-lem-stat-card .stat-content h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: #1e293b;
  font-weight: 600;
}

.tw-lem-stat-card .stat-content .stat-actions {
  margin-top: 15px;
}

.tw-lem-stat-card .stat-content .stat-actions .button {
  background: #1460ac;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  padding: 6px 18px;
  transition: all 0.3s ease;
  border: 2px solid #1460AC;
}

.tw-lem-stat-card .stat-content .stat-actions .button:hover {
  background: #E8F0FE;
  color: #1460AC;
  outline: none;
}

.tw-lem-support-form-section {
  margin: 30px 0;
}

.tw-lem-support-form-section h2 {
  margin: 0 0 20px 0;
  font-size: 20px;
  color: #1e293b;
}

.tw-lem-review-us {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 6px;
}

.tw-lem-review-us p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  background-color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  margin: 3px 0;
}

.tw-lem-review-us .dashicons {
  color: #1460ac;
}

.tw-lem-review-us p a {
  color: #1460ac;
  font-weight: 500;
}

.tw-lem-support-form-card {
  background: #fff;
  border: 2px solid #1460ac;
  border-radius: 12px;
  padding: 30px;
}

.tw-lem-support-form-card .form-table {
  margin-top: 0;
}

.tw-lem-support-form-card .form-table th {
  padding: 20px 10px 20px 0;
  width: 150px;
}

.tw-lem-support-form-card .form-table td {
  padding: 15px 10px;
}

.tw-lem-support-form-card .form-table input,
.tw-lem-support-form-card .form-table textarea {
  width: 600px;
  background-color: #fff;
  border: 2px solid #1460ac;
  border-radius: 12px;
  padding: 8px 12px;
}

.tw-lem-support-form-card .form-table .tw-lem-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
  cursor: pointer;
}

.tw-lem-support-form-card .form-table .tw-lem-consent-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
  appearance: auto;
  -webkit-appearance: auto;
  accent-color: #1460ac;
}

.tw-lem-consent-error {
  color: #dc2626;
}

.tw-lem-consent-error input[type="checkbox"] {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.tw-lem-support-form-card .form-table input:focus,
.tw-lem-support-form-card .form-table textarea:focus {
  border-color: #0d4a85;
  box-shadow: 0 0 0 1px #1460ac;
  outline: none;
}

.tw-lem-support-form-card .form-table textarea {
  min-height: 200px;
}

.tw-lem-support-form-card .required {
  color: #dc2626;
  font-weight: bold;
}

.tw-lem-support-form-card .tw-lem-field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.tw-lem-support-form-card .tw-lem-field-error-message {
  color: #dc2626;
  font-size: 13px;
  margin: 5px 0 0 0;
  font-weight: 500;
}

.tw-lem-support-form-card .description {
  color: #64748b;
  font-size: 13px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tw-lem-support-form-card .description .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #1460ac;
}

.tw-lem-support-form-card .submit {
  margin: 25px 0 0 0;
  padding: 0;
}

.tw-lem-support-form-card .button-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  background: #1460ac !important;
  border: 2px solid #1460ac !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
  line-height: 1.4 !important;
  min-height: auto !important;
}

.tw-lem-support-form-card .button-large:hover {
  background: #fff !important;
  color: #1460ac !important;
  border: 2px solid #1460ac !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 96, 172, 0.2);
}

.tw-lem-support-form-card .button-large .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

@media (min-width: 991.98px) {
  .tw-lem-review-us {
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media screen and (max-width: 782px) {
  .tw-lem-detail-label,
  .tw-lem-detail-value {
    display: block;
    width: 100%;
    padding: 10px;
  }

  .tw-lem-detail-label {
    padding-bottom: 0;
    font-weight: 700;
  }

  .tw-lem-support-form-card {
    padding: 20px;
  }

  .tw-lem-support-form-card .form-table th {
    padding: 10px 0 5px 0;
    width: 100%;
    display: block;
  }

  .tw-lem-support-form-card .form-table td {
    padding: 5px 0 15px 0;
    display: block;
  }

  .tw-lem-support-form-card .form-table input[type="text"],
  .tw-lem-support-form-card .form-table input[type="email"],
  .tw-lem-support-form-card .form-table input[type="url"],
  .tw-lem-support-form-card .form-table textarea {
    max-width: 100%;
  }

  .tw-lem-support-form-card .button-large {
    width: 100%;
    justify-content: center;
  }
}
