@import "utils/reset.css";
@tailwind base;
@tailwind components;
@tailwind utilities;

html, body {
    min-height: 100%;
    color: rgb(218, 218, 218);
}
.app-font {
    font-family: 'Quicksand', sans-serif;
}

/* App default link */
.app-default-link {
    color: #7D89F5;
    transition: color 0.3s ease-in-out;
}
.app-default-link:hover {
    color: #6977f5;
}
/* end App default link */


/* Buttons */
.white-bg-button {
    background-color: #f1f0f0;
    color: #6e6e6e;
    transition: background-color 0.3s ease-in-out;
}
.white-bg-button:hover {
    background-color: #FFFFFF;
}
.black-bg-button {
    background-color: #373737;
    color: rgb(218, 218, 218);
    transition: background-color 0.3s ease-in-out;
}
.black-bg-button:hover {
    background-color: #000000;
}

.left-nav-icon {
    cursor: pointer;
}
.left-nav-icon.active {
    background-color: rgba(255, 255, 255, 0.8);
    cursor: default;
}

.left-nav-icon img, .blurred-icon img {
    max-width: 20px;
}

.blurred-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.white-bg-button {
    background-color: #f1f0f0;
    color: #7D89F5;
    transition: background-color 0.3s ease-in-out;
}
.white-bg-button:hover {
    background-color: #FFFFFF;
}
.colored-bg-button {
    background-color: #717ef6;
    color: #FFFFFF;
    transition: background-color 0.3s ease-in-out;
}
.colored-bg-button:hover {
    background-color: #5767f7;
}
.hallow-bg-button {
    border: 2px solid #cbcaca;
    transition: border-color 0.3s ease-in-out;
}
.hallow-bg-button:hover {
    border-color: #717ef6;
}
.btn-disabled {
    pointer-events: none;
    opacity: 0.8;
    cursor: not-allowed;
}
/* End Buttons */

.white-input {
    border: 2px solid #cbcaca;
    outline: none !important;
    transition: border-color 0.3s ease-in-out;
}
.white-input:hover {
    border-color: #717ef6;
}
.white-input:focus,
.white-input:active {
    border-color: #717ef6;
    outline: none !important; 
}

/* Scrollbar Custom */
.scrollbar-custom::-webkit-scrollbar {
    width: 5px;
}
.scrollbar-custom::-webkit-scrollbar-thumb {
    background-color: #f3f3f3;
    border-radius: 6px;
}
.scrollbar-custom::-webkit-scrollbar-track {
    background-color: #aaaaaa;
    border-radius: 6px;
}

/* icons */
.app-icon path {
    fill: white !important;
}
.user-icon { width: 30px; }
.playlist-img-ui img {
    height: 50px;
    width: auto;
    cursor: pointer;
}
.inactive-sound-opacity {
    opacity: 0.7;
}
/* end icons */
/* sound volume slider */
.volume-slider {
    height: 2px;
    background: #e6e6e6;
    position: relative;
    border-radius: 2px;
    max-width: 150px;
}
.volume-slider-ui {
    min-height: 18px;
}
.volume-slider .handle {
    left: 0; top: -9px;
    width: 18px;
    height: 18px;
    position: absolute;
    cursor: pointer;
    background: #e6e6e6;
    border-radius: 50%;
}
/* sound volume slider */

.playlist-list-btn.active {
    background: rgba(255, 255, 255, 0.5);
}
/* preloader */
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #CCC;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
/* end preloader */
.choose-background-btn-selected {
    background: rgba(0, 0, 0, 0.8);
    cursor: not-allowed;
    pointer-events: none;
}

.category-filter-btn.choose-background-btn-selected {
    cursor: pointer;
    pointer-events: auto;
}

.background-thumb.selected {
    background: rgba(255, 255, 255, 1);
    /* cursor: default; */
}
.tab-btn.selected {
    border-bottom: 2px solid #717ef6;
}