html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
}

* {
  box-sizing: border-box;
}

.hide{
  display: none !important;
}

.content {
  padding: 20px;
  width: 100%;
  height: 100%;
}

#calendar {
  width: 100%;
  height: 100%;
}

.horizontal{
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.vertical{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Popup */
.popup {
  display: flex;
  position: fixed;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  top: 0px;
  left: 0px;
  transition: 0.2s all;
  visibility: visible;
  opacity: 1;
  user-select: none;
}

.popup.hidden{
  visibility: hidden;
  opacity: 0;
  z-index: -1;
}

.popup-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.popup-header{
  display: flex;
  justify-content: space-between;
}

.header-title{
  display: flex;
}

.popup-close{
  cursor: pointer;
  padding-left:10px;
}

.popup-footer{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 10px;
}

.popup-body{
  padding: 10px;
}

.reqiured{
  position: relative;
}

.items{
  display: flex;
  align-items: center;
  width: 100%;
}

.items .item-name{
  width: 90px;
  display: flex;
  margin-right: 10px;
}

.items.reqiured .item-name::after{
  content: '*';
  color: rgb(209, 103, 103);
  display: flex;
  padding-left: 5px;
}

.items .item-value{
  width: calc(100% - 100px);
}

.items .item-value .input-value{
  border-radius: 3px;
  border: 1px solid #ddd;
  outline: none;
  padding: 8px 10px;
  width: 100%;
}

    .items .item-value .input-value:focus {
        border-color: rgb(128, 153, 255);
    }

.items .item-value .text-value{
  font-weight: bold;
}

button {
  border-radius: 5px;
  border: 1px solid rgb(196, 196, 196);
  background: rgb(239, 241, 243);
  color: black;
  padding: 5px 20px;
  cursor: pointer;
}

button.normal {
  background:rgb(75, 117, 196);
  color: white;
  border: none;
}

button.success {
  background:rgb(55, 161, 34);
  color: white;
  border: none;
}

button.fail {
  background:rgb(209, 103, 103);
  color: white;
  border: none;
}

button:hover{
  filter: brightness(0.92);
}

button:active{
  filter: brightness(0.83);
}


.snackbar {
    visibility: hidden;
    min-width: 300px;
    margin-left: -150px;
    background-color: #535353;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    border: 1px solid rgba(255,255,255, 0.7);
}

    .snackbar.start {
        visibility: visible;
        -webkit-animation: fadein 0.3s;
        animation: fadein 0.3s;
    }
    .snackbar.end {
        visibility: visible;
        -webkit-animation: fadeout 0.3s;
        animation: fadeout 0.3s;
    }

    .snackbar.error {
        background-color: rgb(239, 71, 71);
    }
    .snackbar.success{
        background-color: rgb(59, 170, 37);
    }
    .snackbar.warning {
        background-color: rgb(243, 175, 22);
    }

    @-webkit-keyframes fadein {
        from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}