/* IconButton CSS - Matching React IconButton component styles */

/* Single class buttons - complete styling in one class */
.btn-outline {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  height: 25px;
  padding: 0 10px;
  border: 1px solid #000000;
  background-color: #ffffff;
  color: #000000;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-outline:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-outline:not(:disabled):hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-solid {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  height: 25px;
  padding: 0 10px;
  border: 1px solid #000000;
  background-color: #000000;
  color: #ffffff;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  width: fit-content;
}

.btn-solid:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-solid:not(:disabled):hover {
  background-color: #333333;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-solid:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-inline {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  height: 25px;
  padding: 0 8px;
  border: none;
  background-color: transparent;
  color: #000000;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-inline:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-inline:not(:disabled):hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-inline:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-green-outline {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  height: 25px;
  padding: 0 10px;
  border: 1px solid #0B5152;
  background-color: #ffffff;
  color: #0B5152;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-green-outline:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-green-outline:not(:disabled):hover {
  background-color: #f0f9f9;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-green-outline:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-green-solid {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  height: 25px;
  padding: 0 10px;
  border: 1px solid #0B5152;
  background-color: #0B5152;
  color: #ffffff;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-green-solid:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-green-solid:not(:disabled):hover {
  background-color: #0a4546;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-green-solid:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Icon styles for all button types */
.btn-outline .icon,
.btn-solid .icon,
.btn-inline .icon,
.btn-green-outline .icon,
.btn-green-solid .icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.btn-outline .icon-only,
.btn-solid .icon-only,
.btn-inline .icon-only,
.btn-green-outline .icon-only,
.btn-green-solid .icon-only {
  margin-right: 0;
}

/* Size variants */
.icon-button--small {
  height: 20px;
  font-size: 10px;
  padding: 0 6px;
}

.icon-button--small .icon {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}

.icon-button--large {
  height: 32px;
  font-size: 12px;
  padding: 0 16px;
}

.icon-button--large .icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}




/* Responsive adjustments */
@media (max-width: 768px) {
  .icon-button {
    font-size: 10px;
    height: 22px;
    padding: 0 8px;
  }
  
  .icon-button .icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }
}
