// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

// Modern Button Styles
.el-button {
  border-radius: 4px;
  font-weight: 500;
  
  &--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;

    &:hover, &:focus {
      transform: translateY(-1px);
      box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
      background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }
    
    &:active {
      transform: translateY(1px);
    }
  }
  
  &--success {
    background: linear-gradient(135deg, #23bdb9 0%, #43e97b 100%);
    border: none;
  }
  
  &--danger {
     background: linear-gradient(135deg, #ff5858 0%, #f09819 100%);
     border: none;
  }
}

.el-tag {
  border-radius: 4px;
}
