/* Home / login dans le style de periode.css */

.card{
  max-width: 980px;
  margin: 18px auto;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  overflow: hidden;
}

.card-head{
  padding: 18px 18px 10px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.card-title{
  font-weight: 950;
  font-size: 18px;
}

.card-subtitle{
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.card-body{
  padding: 18px;
}

.actions-row{
  display:flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.error{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(239,68,68,.30);
  background: rgba(239,68,68,.08);
  color: rgba(127,29,29,1);
  font-weight: 800;
}

.small{ font-size: 12px; }
.muted.small{ opacity: .9; margin-top: 14px; }

.apps-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px){
  .apps-grid{ grid-template-columns: 1fr; }
}

.app-tile{
  display:block;
  text-decoration:none;
  color: inherit;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  transition: transform .10s ease, box-shadow .18s ease, filter .2s ease;
}

.app-tile:hover{
  transform: translateY(-1px);
  filter: brightness(.995);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.app-icon{
  display:flex;
  align-items:center;
  margin-bottom: 12px;
}

/* Badge "corporate" + icône Copilot (lisible, grand) */
.app-icon-badge{
  width: 76px;
  height: 76px;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.10);
  background: linear-gradient(180deg, rgba(59,130,246,.10), rgba(34,197,94,.08));
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.app-icon-img{
  width: 56px;
  height: 56px;
  display:block;
}

.app-title{
  font-weight: 950;
  font-size: 16px;
}

.app-desc{
  margin-top: 4px;
  color: rgba(15,23,42,.75);
  font-weight: 800;
}
