@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
.hidden-btn {
    visibility: hidden;
}
  /* Additional CSS for menu bar height */
  @media (min-width: 1024px) {
      .py-4 {
          padding-top: 2rem;
          padding-bottom: 2rem;
      }

      .lg\:py-6 {
          padding-top: 2.5rem;
          padding-bottom: 2.5rem;
      }
  }
.app-main {
    margin: 100px 50px 100px
}

.app-grid-view {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 140px;
    grid-gap: 30px;
    background-color: #fff;
    color: #444;
}

.app {
    width: 180px;
    z-index: 3;
    border-radius: 6px;
    text-align: center;
    padding: 24px 20px 12px;
    transition: background-color 0.3s linear;
    background-color: #fff;
    animation: fadeIn 0.18s linear both;
    position: relative;
}

.app a {
    display: inline-block;
    width: 25%;
    margin: 0 auto;
    min-width: 120px;
    text-align: center;
    margin-top: -13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.app a .app_title_disabled {
    transition: none;
    color: #BEBEBE !important;
}

.app a:hover {
    transition: none;
    background-color: #faf8f5;
}

.app a:hover .app_icon {
    transition: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
}

.app a:hover .app_btns {
    transition: none;
    opacity: 1;
}

.app_title {
    transition: none;
    color: #4970bf;
}

.app_title {
    font-size: 14px;
    color: #4d4d4d;
    margin-top: 6px;
    transition: color 0.3s linear;
    text-decoration: none;
}

.app-icon {
    background-repeat: no-repeat;
    height: 23px;
    width: 23px;
    float: right;
    backface-visibility: hidden;
    margin: -22px 0 0 118px;
    position: absolute;
}

.app_icon {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    transition: box-shadow 0.3s linear;
}

/* // ----- NAV ----- // */
.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav.nav--solid .nav--bar {
    color: #000;
    background-color: #fff;
    border-bottom: 1px solid #efefef;
    overflow: hidden;
}

.nav.nav--solid .nav--toggle {
    color: #000;
}

.nav .nav--bar {
    width: 97vw;
    padding: 15px 20px;
    transition: all 0.15s ease;
    position: fixed;
    z-index: 99999;
}

.nav .nav--bar .nav--brand {
    font-size: 18px;
}

.nav .nav--bar .nav--brand a {
    color: inherit;
    text-decoration: none;
}

.nav .nav--toggle {
    color: #fff;
    background: none;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    transition: all 0.15s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    float: right;
}

.nav .nav--toggle:hover .nav--navicon .nav--navicon-line:nth-of-type(1),
.nav .nav--toggle:focus .nav--navicon .nav--navicon-line:nth-of-type(1) {
    transform: translate(0, 2px);
}

.nav .nav--toggle:hover .nav--navicon .nav--navicon-line:nth-of-type(3),
.nav .nav--toggle:focus .nav--navicon .nav--navicon-line:nth-of-type(3) {
    transform: translate(0, -2px);
}

.nav .nav--toggle.active .nav--navicon .nav--navicon-line:nth-of-type(1) {
    transform: translate(0px, 9px) rotate(45deg);
    transition-delay: 0.1s;
}

.nav .nav--toggle.active .nav--navicon .nav--navicon-line:nth-of-type(2) {
    transform: scaleX(0);
    opacity: 0;
}

.nav .nav--toggle.active .nav--navicon .nav--navicon-line:nth-of-type(3) {
    transform: translate(0px, -9px) rotate(-45deg);
    transition-delay: 0.1s;
}

.nav .nav--label-container {
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

.nav .nav--label-container .nav--label {
    color: inherit;
    font-size: 18px;
    vertical-align: middle;
    margin-right: 8px;
    transition: all 0.2s ease;
    transition-property: transform, opacity;
    display: inline-block;
}

.nav .nav--label-container .nav--label:last-of-type {
    top: 0;
    right: 0;
    transform: translateY(-100%);
    position: absolute;
    opacity: 0;
}

.nav .nav--navicon {
    vertical-align: middle;
    width: 31px;
    height: 20px;
    display: inline-block;
}

.nav .nav--navicon .nav--navicon-line {
    background-color: currentColor;
    width: 100%;
    height: 1px;
    margin-bottom: 8px;
    transform-origin: center;
    transition: all 0.15s ease-out;
    transition-property: transform, opacity;
    display: block;
}

.nav .nav--navicon .nav--navicon-line:nth-of-type(2) {
    transform-origin: center;
}

.nav .nav--menu-backdrop {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    transition: all 0.2s ease;
    position: fixed;
    z-index: 99997;
    visibility: hidden;
    opacity: 0;
}

.nav .nav--menu-bg {
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.2s ease-in;
    position: fixed;
    z-index: 99998;
}

.nav .nav--menu-bg:before,
.nav .nav--menu-bg:after {
    content: "";
    border: 1px solid transparent;
    border-bottom-color: #C8CEDA;
    width: 20px;
    height: 20px;
    margin: 20px;
    bottom: 0;
    position: absolute;
    display: block;
}

.nav .nav--menu-bg:before {
    border-left-color: #C8CEDA;
}

.nav .nav--menu-bg:after {
    border-right-color: #C8CEDA;
    right: 0;
}

/* Navi menu */
.nav .nav--menu {
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    background: #fff;
    width: 250px;
    margin: auto;
    padding: 0;
    list-style: none;
    overflow: hidden;

    color: #000;
    text-align: center;
    transition: all 0.15s ease;
    position: fixed;
    overflow: hidden;
    z-index: 99998;
    visibility: hidden;
    opacity: 0;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -webkit-box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}
.nav .nav--menu ul {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav .nav--menu li {
    font-size: 24px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.nav .nav--menu li.active a {
    color: #009688;
    opacity: 1;
}
.nav .nav--menu li a {
    width: 225px;
    padding-left: 20px;
    height: 50px;
    line-height: 50px;
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    color: #686868;

    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.nav .nav--menu li a:hover {
    background: #efefef;
}
.nav .nav--menu li:first-child a:hover,
.nav .nav--menu li:first-child a {
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

.nav .nav--menu li:last-child a:hover,
.nav .nav--menu li:last-child a {
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

.nav .nav--menu li a:hover i {
    color: #ea4f35;
}

.nav .nav--menu i {
    margin-right: 15px;

    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.nav .nav--menu em {
    font-size: 10px;
    background: #ea4f35;
    padding: 3px 5px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-style: normal;
    color: #fff;
    margin-top: 17px;
    margin-right: 15px;
    line-height: 10px;
    height: 10px;
    float: right;
}

.nav .nav--menu li.selected a {
    background: #efefef;
}

.nav--is-visible .nav--brand {
    color: #000;
}

.nav--is-visible .nav--toggle {
    color: #000;
}

.nav--is-visible .nav--label-container .nav--label {
    transform: translateY(100%);
    opacity: 0;
}

.nav--is-visible .nav--label-container .nav--label:last-of-type {
    transform: translateY(0%);
    opacity: 1;
}

.nav--is-visible .nav--menu-backdrop {
    visibility: visible;
    opacity: 1;
}

.nav--is-visible .nav--menu-bg {
    transform: scale(1);
}

.nav--is-visible .nav--menu {
    visibility: visible;
    opacity: 1;
}

.nav--is-visible .nav--menu li {
    opacity: 1;
    transform: translateY(0%);
}

.nav--is-visible .nav--menu li:nth-child(1) {
    transition-delay: 0.2s;
}

.nav--is-visible .nav--menu li:nth-child(2) {
    transition-delay: 0.3s;
}

.nav--is-visible .nav--menu li:nth-child(3) {
    transition-delay: 0.4s;
}

.nav--is-visible .nav--menu li:nth-child(4) {
    transition-delay: 0.5s;
}
/* Custom Scoped Classes */
.webauthn-modal {
    /* Modal background and alignment */
    @apply hidden fixed inset-0 z-50 flex items-center justify-center bg-gray-900 bg-opacity-75;
}

.webauthn-modal-container {
    /* Modal container styling */
    @apply relative w-full max-w-md p-4;
}

.webauthn-modal-content {
    /* Modal content styling */
    @apply relative bg-white rounded-lg shadow dark:bg-gray-700;
}

.webauthn-modal-header {
    /* Modal header styling */
    @apply flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600;
}

.webauthn-modal-close {
    /* Close button styling */
    @apply text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white;
}

.webauthn-modal-body {
    /* Modal body styling */
    @apply p-4 md:p-5;
}

.webauthn-input {
    /* Input field styling */
    @apply bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500;
}

.webauthn-submit {
    /* Submit button styling */
    @apply text-white inline-flex items-center bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
