* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Roboto', 'Arial', 'Helvetica Neue', sans-serif;
}

body {
  background: #eef3f7;
  color: #1e2e3f;
  line-height: 1.5;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.max-card {
  max-width: 1100px;
  width: 100%;
  background-color: white;
  box-shadow: 0 15px 40px rgba(0, 35, 70, 0.15);
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(0, 70, 130, 0.1);
}

/* Компактная шапка */
.header-simple {
  background: #002b4f;
  padding: 6px 15px; 
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1px 2px;
  border-bottom: 3px solid #f5b335;
}

.logo-area {
  flex: 0 0 auto;
}

.logo-area img {
  display: block;
  max-width: 70px;
  max-height: 70px;
  width: auto;
  height: auto;
  background: white;
  padding: 3px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border: 2px solid #ffdb9f;
}

.logo-placeholder {
  display: none;
  width: 70px;
  height: 70px;
  background: #f0f2f5;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  color: #002b4f;
  border: 3px solid #f5b335;
}

.title-block {
  flex: 2 1 300px;
}

.title-block .full-name {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.title-block .full-name span {
  display: inline-block;
  background: rgba(255,215,100,0.2);
  padding: 2px 12px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 4px;
  border-left: 4px solid #ffcd7e;
}

/* Панель кнопок */
.button-panel {
  padding: 40px 20px 50px 20px;
  background: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.action-button {
  flex: 1 1 200px;
  min-width: 200px;
  background: #f2f7ff;
  border: 2px solid #c5d9f0;
  border-radius: 40px;
  padding: 30px 15px;
  text-align: center;
  text-decoration: none;
  color: #002b4f;
  font-weight: 700;
  font-size: 1.5rem;
  transition: 0.2s;
  box-shadow: 0 8px 15px rgba(0,50,90,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.action-button:hover {
  background: #e4efff;
  border-color: #f5b335;
  transform: scale(1.02);
  box-shadow: 0 15px 25px rgba(0,70,130,0.15);
}

.action-button span {
  font-size: 3rem;
  line-height: 1;
}

.action-button small {
  font-size: 0.9rem;
  font-weight: 400;
  color: #1e4b77;
}

/* Футер */
.footer-mini {
  background: #dee9f5;
  padding: 12px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #002239;
  border-top: 2px solid #b8ceec;
}

.footer-mini a {
  color: #002b4f;
  text-decoration: none;
  border-bottom: 1px dotted #3f6b9c;
}

/* Адаптация под узкие экраны */
@media (max-width: 650px) {
  .header-simple {
    padding: 6px 1px; 
  }
  .logo-area img {
    max-width: 50px;
    max-height: 50px;
  }
  .logo-placeholder {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  .title-block .full-name {
    font-size: 1rem;
  }
  .action-button {
    font-size: 1.2rem;
    padding: 20px 10px;
    min-width: 150px;
  }
  .action-button span {
    font-size: 2.5rem;
  }
}