/* widget */

$color_1: #777;
$brand_darkblue: #0C3A5B;
$brand_lightgrey: #B9B9BA;
$brand_white: #fff;
$brand_lightblue: #409EBB;
$brand_midgrey: #545764;
$brand_darkgrey: #2E3744;

.widgets-php {
  .eaw-columns-2 {
    overflow: hidden;
    float: left;
    width: 46%;
    margin-right: 3.5%;
  }

  .eaw-columns-3 {
    select.widefat {
      width: 98.5%;
    }

    label {
      font-size: 11px;
    }

    p {
      small {
        color: $color_1;
        font-style: italic;
      }
    }
  }

  .eaw-column-last {
    float: right;
    margin-right: 0;
  }
}

.small-input {
  width: 30%;
}

.eaw-block {
  display: block;
}

.eaw-multiple-check-form {
  margin: 1em 0;

  ul {
    border: 1px solid rgb(238, 238, 238);
    padding: 10px;
    max-height: 110px;
    overflow: auto;
    margin-top: 0;

    li {
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

.settings_page_widget-for-eventbrite-api-settings-account #wpfooter {
  display: none;
}

.fs-settings-meta-box-wrap {
  input {
    &.invalid {
      border: 2px solid red;
    }

    &.valid {
      border: 2px solid green;
    }
  }
}
.api-key-status {
  background: green;
  padding: 7px 40px;
  color: white;
  border: 2px solid black;
  display: none;
  margin-left: 28px;

  &.error {
    background: red;
    display: inline;
  }

  &.connected {
    background: green;
    display: inline;
  }
}

#wfea-wizard {
  .fs-notice {
    display: none!important;
  }
  p, li {
    font-size: 16px;
  }

  .api-key-result.active {
    width: 300px;
    background: green;
    padding: 10px;
    color: white;
    border: 2px solid black;

    &.error {
      background: red;
    }
    &.connected {
      background: green;
    }
    &.connecting {
      background: lightgray;
      animation: progress 5s infinite;
    }

  }

  .container {
    .block {
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 10%;
      padding: 20px;
      background-color: $brand_white;
      border: 2px $brand_lightgrey solid;
      border-radius: 10px;

      .logo {
        text-align: center;
      }

      h1 {
        font-size: 28px;
      }
      .settings-link {
        float: right;
      }
    }
  }
}
@keyframes progress {
  from {background-color: lightgrey;}
  to {background-color: black;}
}
