/* Plain CSS for Tool Hub */

body {
  font-family: Arial, sans-serif;
  background: #f6f7fb;
  margin: 0;
  padding: 0;
}

.navbar {
  background: #222a35;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.floating-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
.menu-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.menu-link:hover {
  color: #60a5fa;
}
.login-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.login-btn:hover {
  background: #1d4ed8;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}
.modal-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 32px 24px;
  width: 100%;
  max-width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  color: #bbb;
  cursor: pointer;
  transition: color 0.2s;
}
.close-modal:hover {
  color: #333;
}

.dashboard {
  max-width: 900px;
  margin: 40px auto 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 40px 32px;
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.actions {
  display: flex;
  gap: 16px;
}
.logout-btn, .api-btn {
  background: #222a35;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.logout-btn:hover {
  background: #111827;
}
.api-btn {
  background: #2563eb;
}
.api-btn:hover {
  background: #1d4ed8;
}
#api-result {
  margin-top: 16px;
}

.search-box {
  width: 100%;
  max-width: 400px;
  margin: 24px auto 32px auto;
  display: block;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1.1rem;
  background: #f3f4f6;
  outline: none;
  transition: border 0.2s;
}
.search-box:focus {
  border: 1.5px solid #2563eb;
}

.tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.tool-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid #e5e7eb;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, border 0.2s;
}
.tool-card:hover {
  box-shadow: 0 6px 24px rgba(37,99,235,0.10);
  border: 1.5px solid #2563eb;
}
.tool-card h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2563eb;
  margin-bottom: 10px;
}
.tool-card p {
  color: #6b7280;
  margin-bottom: 18px;
}
.open-btn {
  background: #2563eb;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  margin-top: auto;
  transition: background 0.2s;
}
.open-btn:hover {
  background: #1d4ed8;
}

.page-section {
  padding: 60px 20px;
  text-align: center;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  gap: 0;
}
.pagination-btn {
  background: #e5e7eb;
  color: #222a35;
  border: none;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.pagination-btn:hover {
  background: #d1d5db;
}
.page-info {
  padding: 0 18px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .pricing-table {
    flex-direction: row;
    justify-content: center;
  }
}
.pricing-tier {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid #e5e7eb;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pricing-tier h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.pricing-tier p {
  color: #6b7280;
  margin-bottom: 18px;
}
.pricing-tier ul {
  color: #374151;
  margin-bottom: 18px;
  padding-left: 0;
  list-style: none;
}
.pricing-btn {
  background: #2563eb;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
.pricing-btn[disabled] {
  background: #e5e7eb;
  color: #222a35;
  cursor: not-allowed;
}
.pricing-btn:hover:not([disabled]) {
  background: #1d4ed8;
}

.donate-btn {
  background: #22c55e;
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.donate-btn:hover {
  background: #16a34a;
}
