/* Recommended Plugins Page */
.jltma-admin .mt0 {
  margin-top: 0;
}
.jltma-admin #TB_window {
  top: 13% !important;
}
.jltma-admin #TB_window,
.jltma-admin #TB_window iframe {
  width: 772px !important;
  height: 690px !important;
}
.jltma-admin #plugin-information-scrollable {
  height: calc(100% - 65px) !important;
}
.jltma-admin .jltma-recommended-wrapper {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 20px;
}
.jltma-admin .jltma-recommended-wrapper .hide {
  display: none;
}
.jltma-admin .jltma-recommended-header {
  margin-bottom: 24px;
}
.jltma-admin .jltma-recommended-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.jltma-admin .jltma-recommended-title h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1e1e1e;
  margin: 0 0 4px;
  line-height: 1.3;
}
.jltma-admin .jltma-recommended-title p {
  margin: 0;
  font-size: 13px;
  color: #757575;
}
.jltma-admin .jltma-recommended-search {
  flex-shrink: 0;
}
.jltma-admin .jltma-recommended-search .jltma-search-plugins {
  position: relative;
  display: flex;
  align-items: center;
}
.jltma-admin .jltma-recommended-search .jltma-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  display: flex;
  pointer-events: none;
}
.jltma-admin .jltma-recommended-search .jltma-search-input {
  width: 260px;
  padding: 8px 12px 8px 36px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.jltma-admin .jltma-recommended-search .jltma-search-input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
}
.jltma-admin .jltma-recommended-tabs .jltma-filter-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid #dedede;
}
.jltma-admin .jltma-recommended-tabs li {
  margin: 0;
}
.jltma-admin .jltma-recommended-tabs .jltma-tab-link {
  display: inline-block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #757575;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.jltma-admin .jltma-recommended-tabs .jltma-tab-link:hover {
  color: #1e1e1e;
}
.jltma-admin .jltma-recommended-tabs .jltma-tab-link.current {
  color: #7c3aed;
  border-bottom-color: #7c3aed;
  font-weight: 600;
}
.jltma-admin .jltma-recommended-tabs .jltma-tab-link:focus {
  box-shadow: none;
}
.jltma-admin .jltma-plugins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.jltma-admin .jltma-plugin-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.jltma-admin .jltma-plugin-card:hover {
  border-color: #ddd;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.jltma-admin .jltma-plugin-card-body {
  display: flex;
  gap: 16px;
  padding: 20px;
  flex: 1;
}
.jltma-admin .jltma-plugin-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f7f7;
}
.jltma-admin .jltma-plugin-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jltma-admin .jltma-plugin-info {
  flex: 1;
  min-width: 0;
}
.jltma-admin .jltma-plugin-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px;
}
.jltma-admin .jltma-plugin-name a {
  color: #1e1e1e;
  text-decoration: none;
}
.jltma-admin .jltma-plugin-name a:hover {
  color: #7c3aed;
}
.jltma-admin .jltma-plugin-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #757575;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jltma-admin .jltma-plugin-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}
.jltma-admin .jltma-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}
.jltma-admin .jltma-status-active {
  color: #059669;
  background: #ecfdf5;
}
.jltma-admin .jltma-status-inactive {
  color: #d97706;
  background: #fffbeb;
}
.jltma-admin .jltma-status-not-installed {
  color: #6b7280;
  background: #f3f4f6;
}
.jltma-admin .jltma-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  line-height: 1;
  white-space: nowrap;
}
.jltma-admin .jltma-btn:active {
  transform: scale(0.97);
}
.jltma-admin .jltma-btn svg {
  flex-shrink: 0;
}
.jltma-admin .jltma-btn-primary {
  background: #7c3aed;
  color: #fff;
}
.jltma-admin .jltma-btn-primary:hover {
  background: #6d28d9;
}
.jltma-admin .jltma-btn-success {
  background: #059669;
  color: #fff;
}
.jltma-admin .jltma-btn-success:hover {
  background: #047857;
}
.jltma-admin .jltma-btn-warning {
  background: #d97706;
  color: #fff;
}
.jltma-admin .jltma-btn-warning:hover {
  background: #b45309;
}
.jltma-admin .jltma-btn-activated {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: default;
}
.jltma-admin .jltma-btn-activated:active {
  transform: none;
}
@media (max-width: 782px) {
  .jltma-admin .jltma-recommended-header-top {
    flex-direction: column;
  }
  .jltma-admin .jltma-recommended-search .jltma-search-input {
    width: 100%;
  }
  .jltma-admin .jltma-plugins-grid {
    grid-template-columns: 1fr;
  }
}