.tw-lat-wrap {
    position: relative;
}

.tw-lat-support-li a,
.tw-lat-tutorial-li a {
    padding: 2px 3px 3px 25px !important;
}

.tw_bpmwc_wrap {
  margin-right: 20px;
  position: relative;
}

.tw-lat-support-quick-links {
  margin: 25px 0;
}

.tw-lat-support-quick-links h2 {
  margin: 0 0 20px 0;
  font-size: 20px;
  color: #1e293b;
}

.tw-lat-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
}

.tw-lat-stat-card {
  background: #fff;
  border-radius: 12px;
  display: flex;
  padding: 25px;
  transition: all 0.3s ease;
  border: 2px solid #1460ac;
}

.tw-lat-stat-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border: 2px solid #fff;
}

.tw-lat-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-lat-stat-card .stat-icon .dashicons {
  font-size: 32px;
  width: 32px;
  height: 32px;
  color: #fff;
}

.tw-lat-stat-card .stat-content h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: #1e293b;
  font-weight: 600;
}

.tw-lat-stat-card .stat-content .stat-actions {
  margin-top: 15px;
}

.tw-lat-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-lat-stat-card .stat-content .stat-actions .button:hover {
  background: #E8F0FE;
  color: #1460AC;
  outline: none;
}

.tw-lat-support-form-section {
  margin: 30px 0;
}

.tw-lat-support-form-section h2 {
  margin: 0 0 20px 0;
  font-size: 20px;
  color: #1e293b;
}

.tw-lat-review-us {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 6px;
}

.tw-lat-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-lat-review-us .dashicons {
  color: #1460ac;
}

.tw-lat-review-us p a {
  color: #1460ac;
  font-weight: 500;
}

.tw-lat-support-form-card {
  background: #fff;
  border: 2px solid #1460ac;
  border-radius: 12px;
  padding: 30px;
}

.tw-lat-support-form-card .form-table {
  margin-top: 0;
}

.tw-lat-support-form-card .form-table th {
  padding: 20px 10px 20px 0;
  width: 150px;
}

.tw-lat-support-form-card .form-table td {
  padding: 15px 10px;
}

.tw-lat-support-form-card .form-table input,
.tw-lat-support-form-card .form-table textarea {
  width: 600px;
  background-color: #fff;
  border: 2px solid #1460ac;
  border-radius: 12px;
  padding: 8px 12px;
}

/* .tw-lat-support-form-card .form-table .tw-lat-consent-label input {
  width: 15px;
  height: 15px;
} */

.tw-lat-support-form-card .form-table .tw-lat-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
  cursor: pointer;
}

.tw-lat-support-form-card .form-table .tw-lat-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-lat-consent-error {
  color: #dc2626;
}

.tw-lat-consent-error input[type="checkbox"] {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.tw-lat-support-form-card .form-table input:focus,
.tw-lat-support-form-card .form-table textarea:focus {
  border-color: #0d4a85;
  box-shadow: 0 0 0 1px #1460ac;
  outline: none;
}

.tw-lat-support-form-card .form-table textarea {
  min-height: 200px;
}

.tw-lat-support-form-card .required {
  color: #dc2626;
  font-weight: bold;
}

.tw-lat-support-form-card .tw-lat-field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.tw-lat-support-form-card .tw-lat-field-error-message {
  color: #dc2626;
  font-size: 13px;
  margin: 5px 0 0 0;
  font-weight: 500;
}

.tw-lat-support-form-card .description {
  color: #64748b;
  font-size: 13px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tw-lat-support-form-card .description .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #1460ac;
}

.tw-lat-support-form-card .submit {
  margin: 25px 0 0 0;
  padding: 0;
}

.tw-lat-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-lat-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-lat-support-form-card .button-large .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* Responsive Adjustments */
@media (min-width: 991.98px) {
  .tw-lat-review-us {
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media screen and (max-width: 782px) {
  .tw-lat-detail-label,
  .tw-lat-detail-value {
    display: block;
    width: 100%;
    padding: 10px;
  }

  .tw-lat-detail-label {
    padding-bottom: 0;
    font-weight: 700;
  }

  .tw-lat-support-form-card {
    padding: 20px;
  }
  
  .tw-lat-support-form-card .form-table th {
    padding: 10px 0 5px 0;
    width: 100%;
    display: block;
  }
  
  .tw-lat-support-form-card .form-table td {
    padding: 5px 0 15px 0;
    display: block;
  }
  
  .tw-lat-support-form-card .form-table input[type="text"],
  .tw-lat-support-form-card .form-table input[type="email"],
  .tw-lat-support-form-card .form-table input[type="url"],
  .tw-lat-support-form-card .form-table textarea {
    max-width: 100%;
  }
  
  .tw-lat-support-form-card .button-large {
    width: 100%;
    justify-content: center;
  }
}