/* =========================================
   COPYCENTER PORTAL — FINAL PREMIUM LOOK
========================================= */

.portal-container {
  max-width: 1050px;
  margin: 60px auto;
  padding: 25px;
}

/* HEADER */
.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.portal-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-logo img {
  height: 55px;
}

.portal-logo h1 {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
}

/* SEARCH */
.search-box {
  margin: 20px 0 40px;
}

.search-box input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 15px;
}

/* CATEGORY TITLE */
.category-title {
  font-size: 15px;
  font-weight: 800;
  margin: 35px 0 18px;
  color: rgba(15,23,42,0.75);
}

/* GRID LINKS */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

/* LINK CARD */
.link-card {
  background: white;
  border-radius: 22px;
  padding: 18px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 1px solid rgba(15,23,42,0.08);

  box-shadow: 0 8px 20px rgba(15,23,42,0.08);

  transition: 0.25s;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(15,23,42,0.14);
}

/* LEFT */
.link-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-left img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
}

.link-left span {
  font-weight: 800;
  font-size: 15px;
}

/* BUTTON */
.link-btn {
  padding: 10px 18px;
  border-radius: 16px;

  background: #2563eb;
  color: white;

  font-weight: 800;
  text-decoration: none;
}

.link-btn:hover {
  background: #1d4ed8;
}

/* DARK MODE */
[data-theme="dark"] .link-card {
  background: rgba(17,24,39,0.9);
  color: white;
}

[data-theme="dark"] .category-title {
  color: rgba(255,255,255,0.7);
}

/* =========================================
   PREMIUM FINAL FINISH — COPYCENTER
========================================= */

/* Header mais premium */
.portal-header {
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(15,23,42,0.08);
  backdrop-filter: blur(18px);
}

[data-theme="dark"] .portal-header {
  background: rgba(17,24,39,0.72);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Logo central elegante */
.portal-logo h1 {
  font-size: 20px;
  letter-spacing: -0.4px;
}

/* Footer premium */
.portal-footer {
  margin-top: 60px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
  padding-bottom: 30px;
}

/* Ícone Material no card */
.link-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(37,99,235,0.12);
  color: #2563eb;
}

[data-theme="dark"] .link-icon {
  background: rgba(96,165,250,0.12);
  color: #60a5fa;
}

/* Melhorar título */
.category-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

/* Card mais premium */
.link-card {
  padding: 20px 22px;
}

/* Mobile perfeito */
@media (max-width: 768px) {
  .portal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .portal-logo {
    justify-content: center;
    width: 100%;
  }
}

.link-icon.blue { background: rgba(37,99,235,0.15); color: #2563eb; }
.link-icon.green { background: rgba(34,197,94,0.15); color: #16a34a; }
.link-icon.red { background: rgba(239,68,68,0.15); color: #dc2626; }
.link-icon.orange { background: rgba(249,115,22,0.15); color: #ea580c; }
.link-icon.purple { background: rgba(168,85,247,0.15); color: #7c3aed; }

