*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:"Tahoma","Segoe UI",sans-serif;
}

:root{
  --bg1:#eef4fb;
  --bg2:#dfe9f7;
  --shell:#f5f8fd;
  --shell2:#edf3fb;
  --card:#ffffff;
  --card2:#f3f7fd;
  --line:#d7e2f0;
  --blue:#1455a0;
  --blue2:#2d7fe0;
  --blue3:#5c9be8;
  --soft:#6f8fb7;
  --shadow:0 14px 35px rgba(82,116,166,.14);
  --shadow-soft:0 8px 18px rgba(82,116,166,.10);
}

body{
  min-height:100vh;
  background:
    radial-gradient(circle at top right, rgba(45,127,224,.10), transparent 22%),
    radial-gradient(circle at bottom left, rgba(91,155,233,.12), transparent 20%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
  padding:24px;
  color:var(--blue);
}

.dashboard{
  max-width:1450px;
  margin:auto;
  background:linear-gradient(180deg, rgba(255,255,255,.75), rgba(243,247,253,.85));
  border:1px solid rgba(255,255,255,.9);
  border-radius:38px;
  box-shadow:0 24px 50px rgba(82,116,166,.16), inset 0 0 0 1px rgba(255,255,255,.6);
  padding:28px;
  backdrop-filter:blur(10px);
}

.top{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:26px;
  align-items:start;
  margin-bottom:18px;
}

.brand-box{
  display:flex;
  align-items:center;
  gap:18px;
}

.brand-icon,.user-icon{
  width:104px;
  height:104px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--shadow);
  flex-shrink:0;
}

.brand-icon{
  color:#fff;
  background:linear-gradient(180deg, #58a6f3, #2d7fe0);
  border:1px solid rgba(255,255,255,.45);
}

.user-icon{
  color:#7a9bc5;
  background:linear-gradient(180deg, #e6eef9, #d6e3f5);
  border:1px solid #d5e1f1;
}

.brand-text h1{
  font-size:34px;
  font-weight:900;
  margin-bottom:8px;
}

.brand-text p{
  font-size:18px;
  color:var(--soft);
}

.welcome{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

.welcome-text{
  text-align:right;
  padding-top:6px;
}

.welcome-text h2{
  font-size:64px;
  line-height:1.03;
  font-weight:900;
  margin-bottom:8px;
  letter-spacing:.3px;
}

.welcome-text h3{
  font-size:30px;
  font-weight:900;
  margin-bottom:10px;
}

.welcome-text p{
  font-size:18px;
  color:var(--soft);
}

.info-row{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin:10px 0 20px;
}

.info-card{
  background:linear-gradient(180deg, #f6f9fe, #edf3fb);
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px 18px;
  min-height:84px;
  box-shadow:var(--shadow-soft);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-width:230px;
}

.info-card.wide{
  min-width:320px;
}

.info-card .txt{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.info-card .label{
  font-size:18px;
  font-weight:800;
}

.info-card .value{
  font-size:20px;
  font-weight:900;
}

.mini-icon{
  width:54px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--blue2);
  flex-shrink:0;
}

.panel{
  background:linear-gradient(180deg, rgba(244,248,253,.82), rgba(237,243,251,.72));
  border:1px solid var(--line);
  border-radius:30px;
  padding:26px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);
}

.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}

.menu-card{
  background:linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid #d5dfed;
  border-radius:28px;
  min-height:168px;
  padding:22px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  text-decoration:none;
  color:var(--blue);
  box-shadow:var(--shadow);
  transition:.22s ease;
}

.menu-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 38px rgba(82,116,166,.18);
  border-color:#bfd4ee;
}

.menu-title{
  flex:1;
  text-align:center;
  font-size:28px;
  font-weight:900;
  line-height:1.35;
}

.menu-icon{
  width:122px;
  height:122px;
  border-radius:50%;
  background:linear-gradient(180deg, #eef4fb, #dde8f7);
  border:1px solid #d7e3f1;
  color:var(--blue2);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  box-shadow:inset 0 2px 8px rgba(255,255,255,.65);
}

svg{
  width:58px;
  height:58px;
  fill:currentColor;
}

.menu-icon svg{
  width:60px;
  height:60px;
}

.top-actions{
  display:flex;
  justify-content:flex-start;
  margin-top:16px;
}

.logout-btn{
  border:none;
  background:linear-gradient(180deg, #e74c3c, #c0392b);
  color:#fff;
  padding:12px 20px;
  border-radius:16px;
  cursor:pointer;
  font-size:16px;
  font-weight:800;
  box-shadow:var(--shadow-soft);
}

.logout-btn:hover{
  opacity:.94;
}

@media (max-width:1100px){
  .top{
    grid-template-columns:1fr;
  }
  .grid{
    grid-template-columns:repeat(2,1fr);
  }
  .welcome-text h2{
    font-size:48px;
  }
}

@media (max-width:700px){
  body{
    padding:12px;
  }
  .dashboard{
    padding:16px;
    border-radius:24px;
  }
  .brand-icon,.user-icon{
    width:78px;
    height:78px;
  }
  .brand-text h1{
    font-size:26px;
  }
  .brand-text p{
    font-size:15px;
  }
  .welcome{
    flex-direction:column-reverse;
    align-items:flex-start;
  }
  .welcome-text h2{
    font-size:38px;
  }
  .welcome-text h3{
    font-size:24px;
  }
  .info-row{
    flex-direction:column;
  }
  .info-card,.info-card.wide{
    min-width:unset;
    width:100%;
  }
  .grid{
    grid-template-columns:1fr;
  }
  .menu-card{
    min-height:132px;
    padding:18px;
  }
  .menu-title{
    font-size:24px;
  }
  .menu-icon{
    width:92px;
    height:92px;
  }
  .menu-icon svg{
    width:48px;
    height:48px;
  }
}
.pagination{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:18px;
  flex-wrap:wrap;
}

.page-link{
  padding:8px 14px;
  border-radius:10px;
  background:#edf3fb;
  color:#1455a0;
  text-decoration:none;
  font-weight:700;
}

.page-link.active{
  background:#2d7fe0;
  color:#fff;
}