﻿
.midlbtn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  background: linear-gradient(135deg, #3060c9, #284caf);    
  cursor: pointer;
  padding: 0;
  border: none;
  flex: 0 0 34px; 
}

.midlbtn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
  color:#fff;
}

.midlbtn:disabled {
  opacity: 0.5;
  cursor: default;
}

.midlbtn .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: #fff;
  color:rgb(206, 206, 206)  ;
}

.midlbtn-file .icon {
  opacity: 1;
  transform: scale(1);
}

.icon:hover {
  color:#fff;
}