//////////////////////////////////////////////////////////////////////////////////////////
//   _  _ ____ _  _ ___  ____                                                           //
//   |_/  |__| |\ | |  \ |  |    This file belongs to Kando, the cross-platform         //
//   | \_ |  | | \| |__/ |__|    pie menu. Read more on github.com/kando-menu/kando     //
//                                                                                      //
//////////////////////////////////////////////////////////////////////////////////////////

// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: MIT

@use '../../variables.scss' as *;
@use '../../mixins.scss' as *;

.container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.conditionInput {
  margin-bottom: -8px;

  > *:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }

  > *:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  > * {
    margin-bottom: 10px;
  }

  display: flex;
  gap: 2px;

  input {
    @include text-input;

    flex-grow: 1;
    border-radius: 0;
  }
}

.screenCondition {
  input {
    min-width: 0;
    text-align: center;
    padding: 4px 0px;

    &::-webkit-inner-spin-button {
      appearance: none;
    }
  }
}
