﻿
.toolbtn {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  background: linear-gradient(135deg, #3060c9, #284caf);  
  cursor: pointer;
  padding: 0;
  border: none;
  flex: 0 1 30px; 
}

.toolbtn:not(:disabled):hover {
 /* transform: translateY(-2px);*/
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, #477cee, #1d4ed8);
}

.toolbtn:disabled {
  opacity: 0.5;
  cursor: default;
}

.toolbtn .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  opacity: 0;
  transition: opacity 0.15s ease-in-out, transform 0.45s ease-in-out;
  transform: scale(0.9);
  fill: #c26565;
  color:rgb(206, 206, 206);
}

.toolbtn-file .icon {
  opacity: 1;
/*  transform: scale(1);*/
}

