/* Premium Glassmorphism & Flat UI for Заявки */
#requests-section {
  max-width: 650px;
  margin: 56px auto;
  background: rgba(255,255,255,0.82);
  border-radius: 36px;
  box-shadow: 0 12px 48px 0 rgba(45,127,249,0.13), 0 2px 12px #e3edfa;
  padding: 48px 40px 36px 40px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.section-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #2d7ff9;
  margin-bottom: 24px;
  letter-spacing: 1.5px;
  text-align: center;
}
#requests-tabs {
  display: flex;
  gap: 22px;
  margin-bottom: 28px;
  justify-content: center;
}
#requests-tabs button {
  background: rgba(247,250,255,0.85);
  border: none;
  font-size: 1.13rem;
  font-weight: 900;
  color: #2d7ff9;
  padding: 13px 38px;
  border-radius: 22px;
  cursor: pointer;
  box-shadow: 0 2px 12px #e3edfa;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  letter-spacing: 0.5px;
}
#requests-tabs button.active, #requests-tabs button:hover {
  background: linear-gradient(90deg, #e3edfa 60%, #f7faff 100%);
  color: #1976d2;
  box-shadow: 0 4px 24px #e3edfa;
}
.requests-block {
  width: 100%;
  background: rgba(255,255,255,0.95);
  border-radius: 28px;
  box-shadow: 0 6px 32px rgba(45,127,249,0.10);
  padding: 32px 32px 18px 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(4px);
}
.requests-block h3 {
  color: #2d7ff9;
  font-size: 1.18rem;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.request-row, .history-row {
  display: grid;
  grid-template-columns: 120px 110px 1fr 120px;
  align-items: center;
  gap: 0;
  padding: 8px 0;
  font-size: 1.04rem;
  font-weight: 400;
  border-radius: 12px;
  margin-bottom: 4px;
  background: rgba(247,250,255,0.7);
  box-shadow: 0 1px 6px #e3edfa;
}
.request-row:last-child, .history-row:last-child {
  margin-bottom: 0;
}
.req-date {
  min-width: 90px;
  font-size: 0.97rem;
  font-weight: 400;
  color: #b3c6e6;
}
.req-user {
  color: #1976d2;
  font-weight: 500;
  min-width: 70px;
}
.req-amount {
  font-size: 1.13rem;
  min-width: 70px;
  font-weight: 500;
  color: #222;
}
.req-status {
  min-width: 80px;
  font-size: 0.98rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.req-status .pending {
  color: #e67c00;
  font-weight: 400;
  background: none;
  box-shadow: none;
}
.req-status .confirmed {
  color: #219150;
  font-weight: 400;
  background: none;
  box-shadow: none;
}
.req-status .cancelled {
  color: #e53935;
  font-weight: 400;
  background: none;
  box-shadow: none;
}
.req-confirm, .req-cancel {
  margin-left: 10px;
  padding: 6px 14px;
  border-radius: 10px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.98rem;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 2px 12px #e3edfa;
  letter-spacing: 0.5px;
}
.req-confirm {
  background: linear-gradient(90deg, #e8f5e9 60%, #f1f8e9 100%);
  color: #219150;
}
.req-confirm:hover {
  background: #c8e6c9;
  color: #1976d2;
}
.req-cancel {
  background: linear-gradient(90deg, #fff3e0 60%, #ffebee 100%);
  color: #e53935;
}
.req-cancel:hover {
  background: #ffe0b2;
  color: #222;
}
.money-analytics-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.08rem;
  font-weight: 500;
  color: #2d7ff9;
  background: #e3edfa;
  border: none;
  border-radius: 12px;
  padding: 7px 22px 7px 12px;
  margin: 0 auto 24px auto;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(45,127,249,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.money-analytics-btn:hover {
  background: #d0e2fa;
  box-shadow: 0 4px 16px rgba(45,127,249,0.13);
}
.requests-section-abs-btn {
  position: absolute;
  top: 22px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
  font-weight: 600;
  color: #222;
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 8px 22px 8px 16px;
  box-shadow: 0 2px 12px #e3edfa;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  z-index: 2;
  outline: none;
  text-decoration: none !important;
}
.requests-section-abs-btn svg {
  width: 22px;
  height: 22px;
  display: inline-block;
}
.requests-section-abs-btn:hover {
  background: #f7faff;
  color: #2d7ff9;
  box-shadow: 0 4px 18px #e3edfa;
}
.history-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #e3edfa;
  margin-top: 12px;
  overflow: hidden;
  font-size: 1.01rem;
}
.history-table thead th {
  background: #f7faff;
  color: #2d7ff9;
  font-weight: 600;
  padding: 10px 0;
  text-align: left;
  border-bottom: 1.5px solid #e3edfa;
}
.history-table tbody tr {
  transition: background 0.15s;
}
.history-table tbody tr:hover {
  background: #f7faff;
}
.history-table td {
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #f0f4fa;
}
.history-table td.ht-date {
  color: #b3c6e6;
  min-width: 90px;
  font-size: 0.97rem;
  padding-left: 18px;
}
.history-table thead th:first-child {
  padding-left: 18px;
}
.history-table td.ht-user {
  color: #1976d2;
  font-weight: 500;
  min-width: 70px;
}
.history-table td.ht-amount {
  font-size: 1.13rem;
  min-width: 70px;
  font-weight: 500;
  color: #222;
}
.history-table td.ht-status {
  min-width: 80px;
  font-size: 0.98rem;
  font-weight: 400;
}
.ht-amount-green, .ht-status-green {
  color: #219150 !important;
}
.ht-amount-yellow, .ht-status-yellow {
  color: #e67c00 !important;
}
@media (max-width: 700px) {
  #requests-section {
    padding: 10px 2vw;
    border-radius: 18px;
  }
  .requests-block {
    padding: 12px 4vw 8px 4vw;
    border-radius: 14px;
  }
  .req-amount {
    font-size: 1.08rem;
  }
  .history-table {
    font-size: 0.95rem;
  }
  .history-table thead th, .history-table td {
    padding: 7px 0 7px 0;
  }
} 