@charset "utf-8";
@import url("common.css");
@import url("circle_button_bar.css");







.slide-container {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    background-color: transparent;
}
.slide-container .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide-container .slides .slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}
.slide-container .slides .slide .slide-link {

}
.slide-container .slides .slide .slide-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    vertical-align: middle;
}
.slide-container .slides .slide .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 1.5rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
.slide-container .slides .slide .slide-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.slide-container .slides .slide .slide-description {
    font-size: 1rem;
    opacity: 0.9;
}
.slide-container .btn-slide-navigation {
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    outline: none;
    padding: 0;
}
.slide-container .btn-slide-navigation:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.slide-container .btn-slide-navigation.left {
    left: 1rem;
}
.slide-container .btn-slide-navigation.right {
    right: 1rem;
}
.slide-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}
.slide-dots .dot {
    width: 0.75rem;
    height: 0.75rem;;
    background-color: #d1d5db;
    border-radius: 50%;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background-color 0.3 ease;
}
.slide-dots .dot.active {
    background-color: #3b82f6;
}


/*keşfet kısmı*/
.explore-section {
    /* margin-top: 20px; */
}
.tab-menu {}
.tab-menu .tab {
    margin-bottom: 10px;
    text-align: center;
}
.tab-menu .tab .tab-link {
    border-radius: 20px;
    cursor: pointer;
    border: none;
    outline: none;
    border: 2px solid #ddd;
    padding: 10px 10px;
    background: var(--linear-gradient-white);
    transition: all ease-in-out .3s;
}


.tab-menu .tab .tab-link:hover {
    border-color: var(--lightselamgreen);
}

.tab-menu .tab .tab-link:empty::before {
    /* font-family: 'Font Awesome 6 free';
    content: "\f2bd"; */
    content: "Konu başlığı";
}

.tab-menu .tab .tab-link.active {
    border: 2px solid var(--selamgreen);
    background: var(--lightselamgreen);
    color: white;
}

.tab-menu .tab-contents {
    border: 1px solid gray;
}

.explore-section .tab-contents {
    border: none !important;
}
.tab-menu .tab-contents .tab-content:not(.active) {
    display: none;
}
.tab-menu .tab-contents .tab-content {
    /* padding: 10px; */
}

.tab-menu .tab-contents .tab-content .card-content {
    /* padding: 10px; */
}
.tab-menu .tab-contents .tab-content .card-content p:not(.text-bold) {
    display: -webkit-box; /* Webkit tabanlı tarayıcılar için (Chrome, Safari, Edge) */
  -webkit-line-clamp: 3; /* Kaç satır sonra kesileceği */
  -webkit-box-orient: vertical; /* Kutunun dikey yönelimi */
  overflow: hidden; /* Taşmayı gizle */
  text-overflow: ellipsis; /* Taşma olduğunda üç nokta göster */
}

.tab-menu .tab-contents .tab-content .card-content p.text-bold {
        display: -webkit-box; /* Webkit tabanlı tarayıcılar için (Chrome, Safari, Edge) */
  -webkit-line-clamp: 2; /* Kaç satır sonra kesileceği */
  -webkit-box-orient: vertical; /* Kutunun dikey yönelimi */
  overflow: hidden; /* Taşmayı gizle */
  text-overflow: ellipsis; /* Taşma olduğunda üç nokta göster */
}
.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-header a {
    text-decoration: none;
    color: inherit;
    transition: .3s;
}

.tab-header a:hover {
    transform: translateY(-5px);
}

.tab-header a i {
    vertical-align: middle;
}

/* namaz vakitleri bölümü */
.salah-times-section {
    width: 100%;
}
.salah-times-section-container {

}
.time-tools-container {
    width: 100%;
    background-color: var(--lightselamgreen);
    color: white;

    display: flex;
    flex-direction: row;
    justify-content: center;

    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

}
.time-tools-container > div {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}
.time-tools-container .location-container {
    flex-direction: column;
}
.time-tools-container .location-container select {
    border: none;
    outline: none;
    font-size: 14px;
    background-color: transparent;
    color: white;
}

.location-container option {
    color: black;
}
.time-tools-container .timer-container {
    flex-direction: column;
    text-align: center;

    background: var(--selamgreen);
}
.time-tools-container .timer-container .timer-text {
    font-size: 14px;
}
.time-tools-container .timer-container .timer {
    font-size: 20px;
}
.timer > span {}

.time-tools-container .calendar-container {
    flex-direction: column;
}

.calendar-container .gregorian {
    font-size: 14px;
}

.calendar-container .hicri {
    font-size: 12px;
}

.calendar-container #clock {
    font-size: 14px;
}


.salah-times-section .salah-times-container {
    display: grid;
    grid-template-columns: repeat(6, auto);
    overflow: hidden;

    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.salah-time {
    color: white;
    flex: 1;
    text-align: center;
}

.salah-time:nth-child(1) {
    background-color: #7E5785;
    /* background-color: #A881AF; */
}

.salah-time:nth-child(2) {
    background-color: #D38E64;
    /* background-color: #FFB68B; */
}

.salah-time:nth-child(3) {
    background-color: #4D7981;
    /* background-color: #6A9CA6; */
}

.salah-time:nth-child(4) {
    background-color: #5F6B5F;
    /* background-color: #7C8B7C; */
}

.salah-time:nth-child(5) {
    background-color: #442E46;
    /* background-color: #5D4060; */
}

.salah-time:nth-child(6) {
    background-color: #242A3D;
    /* background-color: #343A4F; */
}

.salah-time .time-header {
    font-size: 14px;
    text-wrap: nowrap;
}

.salah-time-modal {
    display: none;
}


/* reelsler */
.reels-section {
    position: relative;
}

.reels-content {
    position: relative;
    width: 100%;
    overflow: hidden;

}

.reels-container {
    display: flex;
    width: fit-content;
    gap: 10px;
    padding: 10px 0px;
}

.reels-container .card {
    width: 200px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
    border-radius: 10px;

}

.reels-container .card:hover {
    transform: translateY(-10px);
}

.reels-container .card-content {
    padding: 0;
}

.reels-container .card-body {
    padding: 0;
}

.reels-container .card img {
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
    aspect-ratio: 9/16 !important;
    width: 100%;

    border-radius: 0px 0px 10px 10px;
}

.reels-section .card .placeholder-img {
    aspect-ratio: 9/16 !important;
    width: 100%;
}

.btn-reels-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.254);
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.btn-reels-navigation.left {
    left: -30px;
}

.btn-reels-navigation.right {
    right: -30px;
}

.iframe-container {
    position: relative;
}

.youtube-iframe-vertical, .iframe-container {
    aspect-ratio: 9/16;
    height: 90vh;
    /* width: auto !important; */
    border-radius: 17px;
}

.iframe-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
}

.iframe-close-button {
    position: absolute;
    top: 10px;
    left: 10px;
}
.iframe-close-button button {
    display: block;
    background-color: rgba(0, 0, 0, 0.527);
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

.iframe-menu-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    color: white;
}

.iframe-buttons button {
    display: block;
    background-color: rgba(0, 0, 0, 0.527);
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

.iframe-buttons button:not(:last-child){
    margin-bottom: 10px;
}

.iframe-buttons button:hover {
    background-color: black;
}

.youtube-iframe-vertical-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
}




/* app menu*/

.launchpad {
    width: 90%;
    max-width: 700px;
    background-color: #262626;
    color: white;
    padding: 20px;
    border-radius: 25px;
}

.launchpad .modal-header {
    background: initial;
    border-bottom: 1px solid #ffffff10;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.launchpad .modal-body {
    background-color: initial;
}

.launchpad .modal-footer {
    background-color: initial;
    margin-top: 25px;
    color: #ffffffcd;
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid #ffffff10;

}

.all-apps-container {
}

.all-apps-container .app-search-bar-container {
    width: 100%;
    margin-bottom: 20px;
}

.app-search-bar-container .tbx-app-search {
    width: 100%;
    padding: 10px 5px;
    font-size: 14px;
    text-align: center;
    border: none;
    outline: none;
    border-radius: 10px;
    color: white;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.app-search-bar-container .tbx-app-search:is(:focus, :active) {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(77, 171, 247, 0.5);
}



.all-apps-container .apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 25px;
    padding: 10px;
}

.apps-grid .btn-app-launcher {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px 10px;
    border-radius: 16px;
    position: relative;
    text-decoration: none;
    color: inherit;
    animation: slideUp 0.4s;
}

.apps-grid .btn-app-launcher:hover {
    background-color: #00000010;
    transform: scale(1.1);
}

.btn-app-launcher .app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
    font-size: 28px;
    box-shadow: 0 6px 15px #00000020;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.btn-app-launcher .lbl-app-launcher {
    color: #ffffffee;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.app-icon.read {
    background: var(--linear-gradient-blue);
}

.app-icon.listen {
    background: var(--linear-gradient-green);
}

.app-icon.watch {
    background: var(--linear-gradient-red);
}

.app-icon.explore {
    background: var(--linear-gradient-tomato);
}

.app-icon.where {
    background: var(--linear-gradient-purple);
}

/* içerikler*/
.content-header {
    
}

.content-header :is(h1, h2) {
    margin: 0;
}

/* haberler */
.news-paper {
    display: flex;
    gap: 10px;
}

.news-paper :is(.news-container, .last-news-list) {
    border-radius: 10px;
}

.news-container {
    background-color: white;
    padding-left: 20px;
    padding-right: 20px;
    flex: 3;
}

.news-header {
    /* padding-top: 20px;
    padding-bottom: 20px; */
}

.news-container .news-header h1 {
    margin: 0;
    padding: 0;
}

.news-container .news-header .news-decsription {
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.news-container .news-header .news-tags {}

/*okuma ve haber araçları paylaşım vs.*/
.content-tools {
    padding: 20px 20px;
    position: relative;
    width: calc(100%);
    display: flex;
    justify-content: space-evenly;

}
.content-tools > div {
}
.content-tools .share-buttons {
    margin-right: 10px;
}
.content-tools .share-buttons button {
    color: white;
}
.content-tools .text-buttons button {
    background: var(--linear-gradient-gray);
    color: white;
}
.content-tools button {
    border: none;
    outline: none;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    user-select: none;
    border-radius: 20px;
}

.news-container .news-text-container {
}

.news-container .news-text-container .news-image-container {}

.news-container .news-text-container .news-image-container img {
    width: 100%;
    vertical-align: middle;
    border: none;
    outline: none;
}


.last-news {
    flex: 1;
}
.last-news-list {
    width: 100%;
    background-color: white;
    
}

.last-news-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-wrap: nowrap;
    gap: 5px;
    padding: 10px;


    font-size: 20px;
    color: var(--lightselamgreen);
}
.last-news-card {
    display: flex;
    cursor: pointer;
    gap: 5px;
    text-decoration: none;
    color: inherit;
    padding: 10px;
}
.last-news-card:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}
.last-news-image-container {
    flex: 1;
    overflow: hidden;
}
.last-news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
    border-radius: 4px;
}
.last-news-info {
    flex: 1;
}
.last-news-tags {}
.last-news-title {
    overflow: hidden;
    display: -webkit-box; /* Flexbox ile satır sınırlaması için */
    -webkit-line-clamp: 2; /* Gösterilecek satır sayısı (burada 3 satır) */
    -webkit-box-orient: vertical; /* Dikey yönlendirme */
    text-overflow: ellipsis;
}


footer {
    width: 100%;
    background-color: var(--selamgreen);
    color: white;
    border-top: 4px solid goldenrod;
}

.footer-content {}

.footer-content p {
    text-align: center;
}


/*shortsmodal */
.modal-safe-area {
    display: flex;
    gap: 20px;
    position: relative;
}

.playlist {
    padding: 10px;
    background: #000000de;
    border-radius: 5px;
    max-height: 90vh;
    overflow: hidden;
    overflow-y: hidden;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    background-color: #2c2c2c;
    border-radius: 5px;
    overflow: hidden;
    gap: 10px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.playlist-item.active {
    background-color: #7f7f7f !important;
}

.playlist-item-image {
    width: 35px;
}

.playlist-item-image img {
    width: 100%;
    vertical-align: middle;
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
    aspect-ratio: 9/16 !important;
    width: 100%;

}

.playlist-item-title {
    align-self: center;
    color: white;
    font-size: 15px;
    width: 200px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ortak shimmer animasyonu */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Shimmer efekti uygulanan tüm placeholder'lar için temel stil */
.shimmer-placeholder {
    position: relative;
    overflow: hidden;
    background-color: #3a3a3a;
    /* Varsayılan gri tonu */
}

.shimmer-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 20%,
            /* Hafif parlama */
            rgba(255, 255, 255, 0.3) 50%,
            /* Parlaklık efekti */
            rgba(255, 255, 255, 0.1) 80%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer 1.5s infinite forwards;
}

/* Playlist öğesi içindeki resim yer tutucu */
.playlist-item .placeholder-img {
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 en boy oranı */
    border-radius: 3px;
    background-color: #4a4a4a;
    /* Gri placeholder rengi */
    /* Bu öğeye shimmer-placeholder sınıfı HTML'de eklenmelidir */
}

/* Playlist öğesi içindeki metin çubuğu yer tutucular */
.playlist-item-title .placeholder-bar {
    height: 18px;
    /* Metin barı yüksekliği */
    background-color: #4a4a4a;
    /* Gri placeholder rengi */
    border-radius: 3px;
    margin-bottom: 8px;
    /* Barlar arası boşluk */
    /* Bu öğelere shimmer-placeholder sınıfı HTML'de eklenmelidir */
}

.playlist-item-title .placeholder-bar:nth-child(1) {
    width: 95%;
    /* İlk bar daha uzun */
}

.playlist-item-title .placeholder-bar:nth-child(2) {
    width: 70%;
    /* İkinci bar daha kısa */
}



.yt-mobile-playlist-background {
    background-color: rgba(0, 0, 0, 0.659);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


@media screen and (max-width: 767px) {
    .nav-content {
        padding: 20px;
    }
    .nav-content :is(.apps, .search-bar-container) {
        display: none;
    }
    .slide-container .slides .slide .slide-image {
        width: 100%;
        height: auto;
    }
    .slide-container .slides .slide .slide-overlay {
        padding: 1rem;
    }
    .slide-container .slides .slide .slide-title {
        font-size: 1.25rem;
    }
    .slide-container .slides .slide .slide-description {
        font-size: 0.875rem;
    }
    .slide-container .btn-slide-navigation {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    .slide-container .btn-slide-navigation.left {
        left: 0.5rem;
    }
    .slide-container .btn-slide-navigation.right {
        right: 0.5rem;
    }
    .slide-dots .dot {
        width: 0.5rem;
        height: 0.5rem;
        margin: 0 0.3rem;
    }

    .status-updates {
        max-width: 100%;
        padding: 15px 0px;
    }

    .status-updates .btn-status-update {}
    .status-updates .status-update-avatar-container {
        width: 50px;
        height: 50px;
    }
    .status-updates .lbl-status-update {
        font-size: 12px;
    }
    .btn-status-navigation {
        display: none !important;
    }

    .btn-reels-navigation {
        display: none !important;
    }

   .youtube-iframe-vertical, .iframe-container {
       aspect-ratio: 9/16;
       
       height: 90vh !important;
   }

   

    .playlist {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
    }

    .playlist.hideOnMobile {
        display: none;
    }


    .apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 15px;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }



    .salah-times-container {
        display: grid;
        grid-template-columns: repeat(2, auto) !important;
    }

    .salah-times-container .salah-time {
        padding: 10px;
    }

    .time-tools-container > div {
        padding: 10px;
    }

    .salah-time-modal {
        display: flex;
    }

    .last-news-image-container {
        flex: .7;
    }


    /*-haberler */
    .news-paper {
        display: block;
        clear: both;
    }

    .news-container {
        margin-bottom: 20px;
        gap: 0;
    }


    .content-tools button {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }

    .content-tools .text-buttons button:is(:nth-child(1), :nth-child(3)) i:last-child {
        font-size: 8px !important;
        vertical-align: text-top;
    }

    .launchpad .apps-grid {
        max-height: 50vh;
        overflow: scroll;

    }

    .launchpad .apps-grid::-webkit-scrollbar {
    }


    /*categori list */


    .category-item .item-image{
        height: 240px;
    }
}


@media (max-width: 510px) {
    .shorts-modal-content {
        padding: 0;
        max-width: initial;
        max-height: initial;
    }
    .youtube-iframe-vertical, .iframe-container {
        width: 100vw !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .apps-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
    }

    .apps-grid .btn-app-launcher .app-icon {
        width: 60px;
        height: 60px;
    }
    
    .app-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .lbl-app-launcher {
        font-size: 11px;
    }

    .tab-content .grid-column-4 {
        grid-template-columns: repeat(2, auto) !important;
    }


    .reels-container .card {
        width: 150px;
    }
}






/* login form
/* Full-width input fields */
/* .login-modal input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
} */

/* Set a style for all buttons */
/* .login-modal button {
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}
.login-modal button:hover {
  opacity: 0.8;
} */

/* Extra styles for the cancel button */
/* .login-modal .cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
} */

/* Center the image and position the close button */
/* .login-modal .imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
} */

/* .login-modal img.avatar {
  width: 40%;
  border-radius: 50%;
} */

/* .login-modal span.psw {
  float: right;
  padding-top: 16px;
} */


/* Add Zoom Animation */
.login-modal .animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
.login-modal span.psw {
     display: block;
     float: none;
  }
  .login-modal .cancelbtn {
     width: 100%;
  }
}