
.slide16-content {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  padding: 0;
  width: 1600px;
  height: 950px;
}

@media (max-width: 1800px) {
  .slide16-content {
    height: 100%;
    width: 100%;
  }
}

@media (max-height: 700px) {
  .slide16-content {
    height: unset;
  }
}

.slide16-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.other-expenses-container-16 {
  width: 100%;
  max-width: 1000px;
  padding: 40px;
  z-index: 2;
  position: relative;
}

.other-expenses-title-16 {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #1e40af 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.other-expenses-subtitle-16 {
  font-size: 1.2rem;
  text-align: center;
  color: #475569;
  margin-bottom: 30px;
  font-weight: 500;
}

.other-expenses-section-16 {
  margin-bottom: 25px;
}

.other-expenses-grid-16 {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto 25px;
}

.other-expenses-item-16 {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.other-expenses-item-16:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.other-expenses-item-16 .item-header-16 {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.other-expenses-item-16 .item-icon-16 {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

.other-expenses-item-16 .item-icon-16.legal {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.other-expenses-item-16 .item-icon-16.travel {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.other-expenses-item-16 .item-icon-16.workshops {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.other-expenses-item-16 .item-icon-16.office {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.other-expenses-item-16 .item-icon-16 img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.other-expenses-item-16 .item-info-16 h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3px;
  line-height: 1.2;
}

.other-expenses-item-16 .item-details-16 {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

.other-expenses-item-16 .item-amount-16 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e40af 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: right;
  min-width: 120px;
}

.other-expenses-total-16 {
  display: flex;
  justify-content: center;
}

.total-other-expenses-card-16 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 20px;
  padding: 25px 40px;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 15px;
}

.total-other-expenses-card-16::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.total-other-expenses-card-16 .total-icon-16 {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.total-other-expenses-card-16 .total-icon-16 img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.total-other-expenses-card-16 h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
}

/* Desktop Small (1020px - 1440px) */
@media (min-width: 1020px) and (max-width: 1440px) {
  .other-expenses-container-16 {
    padding: 30px;
    max-width: 900px;
  }

  .other-expenses-title-16 {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }

  .other-expenses-subtitle-16 {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .other-expenses-grid-16 {
    gap: 12px;
    margin-bottom: 20px;
  }

  .other-expenses-item-16 {
    padding: 18px 22px;
    border-radius: 12px;
  }

  .other-expenses-item-16 .item-icon-16 {
    width: 40px;
    height: 40px;
  }

  .other-expenses-item-16 .item-icon-16 img {
    width: 20px;
    height: 20px;
  }

  .other-expenses-item-16 .item-info-16 h3 {
    font-size: 1.2rem;
  }

  .other-expenses-item-16 .item-details-16 {
    font-size: 0.85rem;
  }

  .other-expenses-item-16 .item-amount-16 {
    font-size: 1.3rem;
  }

  .total-other-expenses-card-16 {
    padding: 20px 35px;
  }

  .total-other-expenses-card-16 h3 {
    font-size: 1.7rem;
  }
}

/* Tablet (767px - 1020px) */
@media (min-width: 767px) and (max-width: 1020px) {
  .other-expenses-container-16 {
    padding: 25px;
    max-width: 700px;
  }

  .other-expenses-title-16 {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }

  .other-expenses-subtitle-16 {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .other-expenses-grid-16 {
    gap: 10px;
    margin-bottom: 18px;
  }

  .other-expenses-item-16 {
    padding: 15px 18px;
    border-radius: 10px;
  }

  .other-expenses-item-16 .item-header-16 {
    gap: 12px;
  }

  .other-expenses-item-16 .item-icon-16 {
    width: 35px;
    height: 35px;
  }

  .other-expenses-item-16 .item-icon-16 img {
    width: 18px;
    height: 18px;
  }

  .other-expenses-item-16 .item-info-16 h3 {
    font-size: 1.1rem;
  }

  .other-expenses-item-16 .item-details-16 {
    font-size: 0.8rem;
  }

  .other-expenses-item-16 .item-amount-16 {
    font-size: 1.2rem;
  }

  .total-other-expenses-card-16 {
    padding: 18px 30px;
  }

  .total-other-expenses-card-16 h3 {
    font-size: 1.5rem;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .slide16-content {
    padding: 8px 6px;
  }

  .other-expenses-container-16 {
    padding: 8px;
    max-width: 100%;
  }

  .other-expenses-title-16 {
    font-size: 1.5rem;
    margin-bottom: 4px;
    line-height: 1.0;
  }

  .other-expenses-subtitle-16 {
    font-size: 0.7rem;
    margin-bottom: 12px;
    padding: 0 5px;
  }

  .other-expenses-section-16 {
    margin-bottom: 10px;
  }

  .other-expenses-grid-16 {
    gap: 4px;
    margin-bottom: 10px;
  }

  .other-expenses-item-16 {
    padding: 8px 10px;
    border-radius: 6px;
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .other-expenses-item-16 .item-header-16 {
    gap: 6px;
    justify-content: center;
  }

  .other-expenses-item-16 .item-icon-16 {
    width: 24px;
    height: 24px;
  }

  .other-expenses-item-16 .item-icon-16 img {
    width: 12px;
    height: 12px;
  }

  .other-expenses-item-16 .item-info-16 h3 {
    font-size: 0.8rem;
    margin-bottom: 2px;
  }

  .other-expenses-item-16 .item-details-16 {
    font-size: 0.6rem;
  }

  .other-expenses-item-16 .item-amount-16 {
    font-size: 0.9rem;
    text-align: center;
    min-width: auto;
  }

  .total-other-expenses-card-16 {
    padding: 8px 15px;
    gap: 6px;
  }

  .total-other-expenses-card-16 .total-icon-16 {
    width: 28px;
    height: 28px;
  }

  .total-other-expenses-card-16 .total-icon-16 img {
    width: 14px;
    height: 14px;
  }

  .total-other-expenses-card-16 h3 {
    font-size: 1rem;
  }
}

/* Height constraints */
@media (max-height: 700px) {
  .slide16-content {
    padding: 15px 10px;
  }

  .other-expenses-container-16 {
    padding: 20px;
  }

  .other-expenses-title-16 {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  .other-expenses-subtitle-16 {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  .other-expenses-grid-16 {
    gap: 6px;
    margin-bottom: 12px;
  }

  .other-expenses-item-16 {
    padding: 10px 12px;
  }

  .other-expenses-item-16 .item-icon-16 {
    width: 30px;
    height: 30px;
  }

  .other-expenses-item-16 .item-icon-16 img {
    width: 14px;
    height: 14px;
  }

  .other-expenses-item-16 .item-info-16 h3 {
    font-size: 0.9rem;
  }

  .other-expenses-item-16 .item-details-16 {
    font-size: 0.7rem;
  }

  .other-expenses-item-16 .item-amount-16 {
    font-size: 1rem;
  }

  .total-other-expenses-card-16 {
    padding: 12px 20px;
  }

  .total-other-expenses-card-16 h3 {
    font-size: 1.1rem;
  }
}
