/* Home Page Specific Styles */

.card-grid > .card {
  background: var(--card-bg);
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 24px -6px rgb(15 23 42 / 0.14);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card-grid > .card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gold, #e3ab0f);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}

.card-grid > .card:hover {
  border-color: #1a444c;
  box-shadow: 0 16px 34px -10px rgb(15 23 42 / 0.2);
  transform: translateY(-2px);
}

.card-grid > .card:hover::after {
  transform: scaleX(1);
}

.card-grid > .card .title-with-icon {
  margin-bottom: 0.5rem;
}

.card-grid > .card .title-with-icon .brand-icon {
  width: 1.8em;
  height: 1.8em;
  object-fit: cover;
  border-radius: 999px;
  background: var(--light-green);
  border: 2px solid var(--gray-200);
  padding: 0;
}

.card-grid > .card > p {
  flex: 1;
}

/* Account Info Styles */
.info-list {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200, #e5e7eb);
}

.info-row dt {
  font-size: 0.85rem;
  color: var(--gray-500, #6b7280);
}

.info-row dd {
  font-weight: 600;
  color: var(--primary-green);
}

/* Action List Styles */
.feature-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: transparent;
  border-radius: var(--border-radius);
  border: 1px solid var(--primary-green);
  box-shadow: 0 4px 12px rgba(26, 68, 76, 0.1);
  transition: all 0.2s ease;
}

.feature-item:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 68, 76, 0.25);
}

.feature-item::before {
  display: none;
}

.feature-item a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  width: 100%;
}

.feature-item a::after {
  content: '\2192';
  margin-left: auto;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 1;
  transition: all 0.2s;
}

.feature-item:hover a {
  color: #fff;
}

.feature-item:hover a::after {
  transform: translateX(4px);
}
