import css from "../../services/css.js";
const styles = css `
  eden-image-picker {
    width: 100%;
    display: block;
    font-family: var(--eden-content-font);
    font-weight: 400;
  }

  .image-picker__label {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 13px;
    color: var(--eden-grey-500);
    user-select: none;
  }

  .image-picker__inner {
    position: relative;
  }

  .image-picker__field {
    width: 100%;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-sizing: border-box;
    background-color: var(--eden-grey-100);
    border: 1px dashed var(--eden-grey-300);
    border-radius: var(--eden-radius-200);
    cursor: pointer;
    transition: border-color 160ms var(--eden-transition-easing);
  }

  .image-picker__field:hover {
    border-color: var(--eden-grey-400);
  }

  .image-picker__field:focus {
    outline: none;
  }

  .image-picker__field:focus-visible {
    outline: 2px solid var(--eden-secondary-color);
    outline-offset: 3px;
  }

  .image-picker__field--filled {
    border-style: solid;
  }

  .image-picker__placeholder {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--eden-grey-500);
    font-size: 13px;
    user-select: none;
  }

  .image-picker__placeholder-icon {
    width: 18px;
    height: 18px;
    fill: currentcolor;
  }

  .image-picker__preview {
    max-width: 100%;
    max-height: 160px;
    display: block;
    object-fit: contain;
    border-radius: var(--eden-radius-100);
  }

  .image-picker__clear {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    padding: 3px;
    background-color: var(--eden-grey-000);
    border: 1px solid var(--eden-grey-200);
    border-radius: var(--eden-radius-100);
    cursor: pointer;
  }

  .image-picker__clear > eden-icon {
    width: 16px;
    height: 16px;
    fill: var(--eden-grey-500);
  }

  .image-picker__helper {
    margin-top: 3px;
    color: var(--eden-grey-500);
    font-size: 11px;
  }
`;
export default styles;
