html, body, .main {
	width: 100%;
	height: 100vh;
	overflow: hidden!important;
    font-family: "Cairo", sans-serif;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(0, 0, 0);
}

.main, .page {
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
}


.page {
	width: 100%;
	height: calc(100% - 91px);
    background: white;
    transition: right 1s;
}

.main {
  position: relative;
  overflow: visible;
}

.back-light {
  position: absolute;
  top: 0; left: 0;
  height: calc(100% - 94px)!important;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1001;
  transition: opacity 0.2s ease;
}

.open-page.page {
  position: absolute;
  top: 0; right: 0;
  width: 100%;
  z-index: 1001;
}



.nav {
    font-size: 12px;
    background: white;
    padding: 1.5rem;
    display: flex;
    flex-flow: row nowrap;
    position: fixed;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: 1002;
    padding-bottom: 45px;
}

.nav-item {
    flex: 1 1 25%;
    border-radius: 25px;
    padding: 5px 15px;
    white-space: nowrap;
    transition: all 200ms ease-in-out;
    overflow: hidden;
    cursor: pointer;
    height: 44px;
    padding-top: 9px;
    text-align: center;
}

.nav-item .title {
    display: inline-block;
    color: transparent;
    vertical-align: super;
    margin-left: -1px;
    font-size: 15px;
    top: 25px;
    position: absolute;
}

.nav-item svg {
	width: 30px;
	height: 30px;
    margin-top: -2px;
    margin-left: -6px;
}

.nav-item.active {
  flex: 1e-9 1e-8 120px;
  text-align: left;
}
.nav-item.active .title {
  color: inherit;
  font-weight: bold;
}


.icon-home {
  height: 30px!important;
  width: 30px!important;	
  display: inline-block;
}

.page-header {
    padding: 15px;
    margin: 0;
    font-size: 18px;
    position: relative;
    border: 0;
    height: 61px;
}

.page-header svg {
	height: 28px!important;
	width: 28px!important;
}

.page-header left {
    position: absolute;
    left: 15px;
}

.page-header right {
    position: absolute;
    right: 15px;
}

.page-header span {
    text-align: center;
    width: 100%;
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    margin-top: -3px;
}

.page-content {
    height: 100%;
    width: 100%;
    padding-bottom: 62px;
}

.page-container {
    padding: 0 15px;
    overflow-y: scroll;
    height: 100%;
    padding-bottom: 75px;
}

.section {
}

.app-sections {
    width: 100%;
    height: 100%;
}

.loader {
  width: 8px;
  height: 48px;
  display: inline-block;
  position: relative;
  border-radius: 4px;
  color: #ddd;
  box-sizing: border-box;
  animation: animloader 0.6s linear infinite;
  margin-left: -60px;
}

@keyframes animloader {
  0% {
    box-shadow: 20px -10px, 40px 10px, 60px 0px;
  }
  25% {
    box-shadow: 20px 0px, 40px  0px, 60px 10px;
  }
  50% {
    box-shadow: 20px 10px, 40px -10px, 60px 0px;
  }
  75% {
    box-shadow: 20px 0px, 40px 0px, 60px -10px;
  }
  100% {
    box-shadow: 20px -10px, 40px 10px, 60px 0px;
  }
}


.loading-container {
    align-items: center;
    width: 100%;
    height: 100%;
    align-content: center;
    text-align: center;
}

h1, h2, h3, h4, h5 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
    width: 100%;
}

.genre-item {
    display: flex;
    width: 100%;
    height: 60px;
    text-align: center;
    padding: 10px;
    border-radius: 50%;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    overflow: hidden;
    word-break: break-word;
}

.no-margins {
    margin-left: -30px;
    margin-right: -15px;
    width: calc(100% + 45px);
}

.block {
    margin-bottom: 40px;
    margin-top: 20px;
}

.block h4 {
    font-weight: 400;
}

.featured-item {
    text-align: center;
    height: 141px;
    display: block;
    border-radius: 10px;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 12px;
}

.featured-item img {
    border-radius: 10px;
    margin-bottom: 13px;
}

.recommended-item {
    text-align: center;
    height: auto;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    font-size: 12px;
}

.recommended-item img {
    border-radius: 10px;
    margin-bottom: 10px;
    border:1px solid #ddd;
    width: 100%;
}

.mini-player {
    position: fixed;
    background: white;
    z-index: 1003;
    width: 100%;
    height: 60px;
    bottom: 91px;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: none;
}

.mini-player img {
    height: 50px;
    width: 50px;
    position: absolute;
    border-radius: 50%;
    top: 5px;
}

.mini-player .title {
    position: absolute;
    left: 73px;
    font-weight: bold;
    line-height: 16px;
    top: 13px;
    width: calc(100% - 180px);
    overflow: hidden;
    white-space: nowrap;
}

.mini-player .title small {
    font-size: 11px;
    font-weight: normal;
}

.mini-player .play {

}

.mini-player .pause {
    display: none;
}

.mini-player svg {
    fill: white;
    position: absolute;
    right: 50px;
    top: 8px;
}

.mini-player .close-radio svg {
    right: 10px;
    top: 13px;
    fill: #ffffff99;
}

.radio-page {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1004;
    text-align: center;
    background: white;
    background: rgb(75, 0, 130);
    color: rgb(255, 255, 255);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.radio-page img {
    width: 200px;
    height: 200px;
}

.radio-page h3 {
    margin: 0;
}

.radio-page .location {
    text-wrap: nowrap;
}

.radio-page .genre-name {
    background: black;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    text-wrap: nowrap;
    font-size: 12px;
    margin: 10px 0;
}

.radio-page svg {
    width: 70px;
    height: 70px;
}

.radio-page .pause {
    display: none;
}

.radio-page .logo {

}

.radio-page .glass-logo {
    position: absolute;  
    top: 0;
    left: 0;    
}

.radio-page .logo-container {
    position: relative;
    display: inline-block;
    height: 200px;
    margin-top: 0;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 15px;
}

.radio-page .close-radio-page {
    position: absolute;
    top: 60px;
    right: 20px;
    background: #0000000f;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: 1005;
    padding: 10px;
}

.radio-page .close-radio-page svg {
    width: 30px;
    height: 30px;
}

.radio-tabs {
    display: flex;
    width: calc(100% + 40px);
    text-align: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    background: black;
    color: white;
    margin-left: -20px;
    margin-right: -20px;
    bottom: 0;
    position: fixed;
    padding-bottom: 40px;
    padding-top: 20px;
}

.radio-tabs span {
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 10px;
}

.radio-swiper {
    width: 100%;
    height: calc(100% - 102px);
    margin-top: -102px;
}

.radio-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
}

.radio-swiper .swiper-slide h4 {
    margin:0;
}

.radio-page a {
    color: inherit;
    text-decoration: underline;
}

.social-networks {
}

.social-networks a {
    padding: 0px 10px;
}

#read-slide p {
    max-height: calc(100% - 160px);
    overflow-y: auto;
    overflow-x: hidden;
}

.country-item {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border-top: 1px solid #ddd;
    position: relative;
    height: 56px;
}



.country-item img {
    height: 35px;
    width: 35px;
    margin-right: 10px;
    vertical-align: middle;
}

.country-item svg {
    position: absolute;
    right: 15px;
    top: 16px;
    fill: #999999;
}

.country-item span {
    font-size: 16px;
    position: absolute;
    top: 17px;
}

.radios-page .radio {
    flex: 0 0 calc((100% - 40px) / 3);
    box-sizing: border-box;    
    margin: 0;
}


.radios-page {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-content: flex-start;
    justify-content: flex-start;
}
.radios-page .radio b {
    display: block;
}

.radios-page .radio small {
    display: block;
}

.swipeDiv {
    transition: transform 0.3s ease-out;
    transform: translateY(200%);    
    touch-action: none;
}

.swipeDiv.active {
    transform: translateY(0);
}

#visualizer {
  display: block;
  width: calc(100% + 40px);
  margin-right: -20px;
  margin-left: -20px;
  height: 100px;
  position: absolute;
  bottom: 0;  
}


.owl-carousel .owl-stage {
  will-change: transform;
  backface-visibility: hidden;
}


.nav {
    background: rgba(112, 183, 70, 0.12);
    transition: background 0.6s;
}

.genres-slider {
    margin-bottom: 30px;
}

.favorite-empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.favorite-empty svg {
    width: 120px;
    fill: #e03c27;
}

.search-box {
    margin-bottom: 20px;
}

.search-box .input-group-addon {
    background: transparent;
    color: #999999;
    border: 1px solid #1bb5d8;
    border-right: 0;
    padding-right: 0;
}

.search-box .form-control {
    border: 1px solid #1bb5d8!important;
    border-left: 0!important;
    height: 47px;
}

.spinner {
    display: none;
}

.loading-text {
    display: none;
    position: absolute;
    bottom: 30px;
}


.form-control:focus {
    border-color: inherit;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.radio-buttons {
    display: flex
;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.radio-small-svg {
    width: 40px !important;
}

.section {
    height: calc(100% - 91px);
}

.fav-active line,
.fav-active path,
.fav-active polyline,
.fav-active polygon {
  stroke-dasharray: none !important;
  stroke-dashoffset: 0   !important;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}


.menu-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
}

.menu-item svg {
    width: 15px;
}

.menu-icon svg {
    width: 30px;
    height: 30px;
    left: 0;
    top: 2px;
    fill: #5d5d5d;
}

.menu-item span {
    font-size: 15px;
    position: absolute;
    top: 16px;
    left: 56px;
}

.settings-page-icon {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 30px;
}

.settings-page-icon svg {
    width: 100px;
    fill: #999999;
}

.settings-page-icon h4 {
    font-weight: 300;
    font-size: 15px;
}

.menu-items {
    border: 1px solid #ddd;
    border-radius: 15px;
    background: #fafafae6;
}

.menu-item:first-child {
    border-top: 0;
}

.fav-active {
    display: none;
}

.favorites-page {
}

.favorites-page .radio {
    position: relative;
    display: block;
    height: 80px;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-top: 0;
}

.favorites-page .radio img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    margin-bottom: 0;
    position: absolute;
    left: 10px;
}

.favorites-page .radio b {
    display: block;
    position: absolute;
    left: 80px;
    font-size: 18px;
    top: 8px;
}

.favorites-page .radio small {
    display: block;
    position: absolute;
    left: 80px;
    font-size: 14px;
    top: 32px;
}

.favorites-page .radio location {
    display: block;
    position: absolute;
    left: 80px;
    font-size: 12px;
    top: 53px;
}



.btn-full {
    width: 100%;
    height: 44px;
}

.privacy-policy h4 {
    font-weight: normal;
}

.about-us {
    border: 1px solid #ddd;
    border-radius: 15px;
    background: #fafafae6;
    padding: 20px;
    margin-bottom: 50px;
}


.form-control {
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  height: 36px;
  padding: 6px 12px;
  font-size: 17px;
  line-height: 22px;
  color: #000;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border: 1px solid #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1), 
              0 0 0 2px rgba(0, 122, 255, 0.3);
  background-color: #fff;
}

.form-control::placeholder {
  color: #8e8e93;
  opacity: 1; /* Firefox */
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e5e5ea;
  color: #8e8e93;
  box-shadow: none;
  cursor: not-allowed;
}


.btn {
  display: inline-block;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;

  background-color: #007aff;
  color: #fff!important;

  border-radius: 10px;
  padding: 8px 16px;
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  min-width: 64px;

  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);

  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  outline: none!important;
}

.btn:active {
  background-color: #0051a8;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.btn:disabled,
.btn.disabled {
  background-color: #c7c7cc;
  color: #fff;
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Optional: outline style for secondary buttons */
.btn-outline {
  background: transparent;
  color: #007aff;
  box-shadow: inset 0 0 0 1px #007aff;
}

.btn-outline:active {
  background-color: rgba(0, 122, 255, 0.1);
}


.dark, .dark .page {
    background: #000;
    color: white;
}

.dark .nav-item svg {
    fill: inherit;
}

.dark .recommended-item img {
    border: 1px solid #232323;
}

.dark .page-header svg {
    fill: white;
}

.dark .menu-items {
    border: 1px solid #232323;
    background: #000000e6;
}

.dark .country-item {
    border-top: 1px solid #232323;
}



.dark .menu-icon svg {
    fill: #cfcfcf;
}

.dark .settings-page-icon svg {
    fill: #d8d8d8;
}

.dark .form-control {
    background: #000000;
    border: 1px solid #232323;
    color: white!important;
}

.dark .nav {
    fill: white;
}

.dark .menu-item:first-child {
    border: 0!important;
}

.dark .about-us {
    border: 1px solid #232323;
    background: #000;
}

.dark .mini-player {
    border-top: 1px solid #232323;
    border-bottom: 1px solid #232323;
    background: black;
}

.form-control:focus {
    box-shadow: none!important;
}

.input-group-addon {
    border-radius: 10px;
}

.section .page-header span {
    text-align: left;
    font-size: 31px;
}

.radios-page h4 {
    margin-bottom: 0;
}



/* Disable text selection for everything by default */
* {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE10+/Edge */
}

/* Allow text selection for text inputs and textareas */
input[type="text"],
textarea {
  user-select: text;
  -webkit-user-select: text; /* Safari */
  -moz-user-select: text;    /* Firefox */
  -ms-user-select: text;     /* IE10+/Edge */
}
