@font-face {
    font-family: IRANSans;
    src: url('../fonts/IRANSans/IRANSansWeb_Light.woff') format('woff');
}

html, body {
  margin: 0;
  padding: 0;

}

*{
    direction: rtl;
    text-align: right;
    font-family: IRANSans;
    /* font-family: monospace; */
}

body {
    display: flex;
    flex-direction: column;
    /* min-height: 100dvh; */
    justify-content: space-between;
}

body {
  min-height: 100dvh;
  margin: 0;
}

/* / */
html, body {
  margin: 0;
  padding: 0;
  /*height: 100%;*/
  /*overflow: hidden; !* چون گفتی سایت بدون اسکروله *!*/
}

body {
  display: flex;
  flex-direction: column;
  /*min-height: 100dvh;*/
}

header {
  flex: 0 0 auto;
}

footer {
  flex: 0 0 auto;
}

main {
  flex: 1 1 auto;
  min-height: 0;        /* 🔥 مهم‌ترین خط */
  /*overflow: hidden;     !* اختیاری بسته به طراحی *!*/
}

/* / */

a{
    color: #212529;
}

.logo{
    /* font-weight: 00; */
    letter-spacing: 1px;
    transform: scaleX(1.05);

}

.bg-gray{
    background-color: #404E67;
    color: #dcdcdc;
}

.logo{
    max-height: 3.5rem;
}

.sidebar-header{
    flex: 0 0 14rem;
}

.body-header{
    /* background-color: #ffffff; */
    background-color: #bcbcbc;
    width: calc(100%);
}

.pointer{
    cursor: pointer;
}

.search-area{
    background-color: #dcdcdc;
    border-radius: 25px;
    padding: 10px 5px 5px 5px;
}

.search-input{
    background-color: rgba(0, 0, 0, 0);
    border: none;
    outline: none;
}

.bg-custom-yellow{
    background: -webkit-gradient(linear, left top,right top,from(#feb798),to(#fe9365));
    background: linear-gradient(to right, #feb798,#fe9365 );
}

.bg-custom-green{
    background: -webkit-gradient(linear, left top,right top,from(#0df3a3),to(#0ac282));
    background: linear-gradient(to right, #0df3a3,#0ac282 );
}

.bg-custom-pink{
    background: -webkit-gradient(linear, left top,right top,from(#fe909e),to(#fe5d78));
    background: linear-gradient(to right, #fe909e,#fe5d78 );
}

.bg-custom-blue{
    background: -webkit-gradient(linear, left top,right top,from(#01dbdf),to(#01a9ac));
    background: linear-gradient(to right, #01dbdf,#01a9ac );
}

/* /////////////////////// */

.body{
    background-color: tomato;
}

.time-count{
    justify-content: center;
    align-items: center;
}

.time-count b{
    font-size: 3rem;
    color: #dcd5d5;
    padding: 2rem;
    padding-top: 4rem ;
    font-weight: bold;
}

.play-button{
    margin-top: -1rem;
    background-color: red;
    /* box-shadow: 0 1px 20px 0 rgba(165, 164, 164, 0.55); */
    width: 17rem;
    height: 17rem;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.play-button i{
    font-size: 48px;
    color: #dcd5d5;
    padding: 7rem;
    border-radius: 50%;
}

/* .body-container{
    height: 30rem;
} */

.hafe-ml{
    margin-left: .15rem;
}

.buttom-left-a{
    transition: .3s;
}

.buttom-left-a:hover{
    color: rgb(150, 22, 7)!important;
}

.pomo-time{
    margin-top:15px;
    width: auto;
    text-align: center;
}

.pomo-time-text{
    text-align: center;
    /* backdrop-filter: blur(10px) brightness(1.1); */
    margin-bottom: 0%;
}

.time-tracker{
    color: #742424;
    /* backdrop-filter: blur(10px) brightness(1.1); */
    margin-top: 0;
    /* margin-bottom: 1rem; */
}

.reset-button{
    justify-content: center;
    margin-top: 25px;
}

.reset-button p{
    font-size: 18px;
    font-weight: 500;
    color: #292c2d;
}

.space{
    white-space: pre-wrap; /* یا pre */
      /* اگر فونت monospace استفاده کنید، فاصله ها منظم تر به نظر می رسند */
    /* font-family: monospace; */
}

.toggle-mode-icon{
    font-size: 1rem;
}

.arrows{
    margin-bottom: 2rem;
}

.theme-dark {
    /* background-color: #222; */
    background: url(../images/new/4K_Ithya_D015.webp) no-repeat center;
    background-size: cover;
    color: #f1f1f1;
}

.theme-dark .app-header{
    background: rgba(46, 56, 80, 0.2);
}

.theme-dark .setting-box{
    background: rgba(95, 103, 123, 0.2);
}

.theme-dark .play-button{
    background-color: #43434364;
    /* backdrop-filter: blur(2px) brightness(1.1); */

}
.theme-dark .time-tracker{
    color: #ffffff;
    font-weight: 500;
}

.theme-dark .big-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 0 5px;
    border-radius: .5rem;
}

.theme-dark .small-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 2px 5px;
    border-radius: .3rem;
}

.theme-dark .pomo-time-filter{
    backdrop-filter: blur(10px) brightness(.8);
    padding:4px 10px 1px 10px;
    border-radius: .5rem;
}

.theme-dark .reset{
    color: #ffffff;
}

/* Sunset Theme */
/* .theme-sunset {
    background: url(../images/wallpapers/WallpaperGram.IR_1561886352_z96294.jpg) no-repeat center;
    background-size: cover;
    color: #573b2f;
} */

/* .theme-sunset .play-button{
    background-color: #43434364;
    backdrop-filter: blur(10px) brightness(1);
} */
/* .theme-sunset .time-tracker{
    color: #ffffff;
    font-weight: 500;
} */

.theme-blue {
    background: url(../images/new/4K_Ithya_D038.webp) no-repeat center;
    background-size: cover;
    color: #ffffff;
}

.theme-blue .time-tracker{
    color: #ffffff;
    font-weight: 500;
}

.theme-blue .play-button{
    /* background-color: #2121215c; */
    background-color: #2121215c;
    /* backdrop-filter: blur(1px) brightness(.9); */
}

.theme-blue .big-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 0 7px;
    border-radius: .5rem;
}

.theme-blue .small-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 2px 5px;
    border-radius: .3rem;
}

.theme-blue .pomo-time-filter{
    backdrop-filter: blur(2px) brightness(.8);
    padding:4px 10px 1px 10px;
    border-radius: .5rem;
}

.theme-blue .reset{
    color: #ffffff;
}

/* ///////////////////// */

.chill {
    /* background-color: #222; */
    background: url(../images/new/134876825_p0.png) no-repeat center;
    background-size: cover;
    color: #f1f1f1;
}

.chill .play-button{
    background-color: #43434364;
    /* backdrop-filter: blur(2px) brightness(1.1); */

}
.chill .time-tracker{
    color: #ffffff;
    font-weight: 500;
}

.chill .big-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 0 5px;
    border-radius: .5rem;
}

.chill .small-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 2px 5px;
    border-radius: .3rem;
}

.chill .pomo-time-filter{
    backdrop-filter: blur(10px) brightness(.8);
    padding:4px 10px 1px 10px;
    border-radius: .5rem;
}

.chill .reset{
    color: #ffffff;
}
/* ///////////////////////// */

.gensihin {
    /* background-color: #222; */
    background: url(../images/new/Cover_1920.png) no-repeat center;
    background-size: cover;
    color: #f1f1f1;
}

.gensihin .play-button{
    background-color: #43434364;
    /* backdrop-filter: blur(2px) brightness(1.1); */

}
.gensihin .time-tracker{
    color: #ffffff;
    font-weight: 500;
}

.gensihin .big-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 0 5px;
    border-radius: .5rem;
}

.gensihin .small-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 2px 5px;
    border-radius: .3rem;
}

.gensihin .pomo-time-filter{
    backdrop-filter: blur(10px) brightness(.8);
    padding:4px 10px 1px 10px;
    border-radius: .5rem;
}

.gensihin .reset{
    color: #ffffff;
}

/* ///////////////////////////////// */

.gensihin2 {
    /* background-color: #222; */
    background: url(../images/new/Picsart_26-07-06_11-14-10-673\ \(1\).jpg) no-repeat center;
    background-size: cover;
    color: #f1f1f1;
}

.gensihin2 .app-header{
    background: rgba(101, 19, 19, 0.2);
}

.gensihin2 .setting-box{
    background: rgba(94, 40, 40, 0.2);
}

.gensihin2 .play-button{
    background-color: #43434364;
    /* backdrop-filter: blur(2px) brightness(1.1); */

}
.gensihin2 .time-tracker{
    color: #ffffff;
    font-weight: 500;
}

.gensihin2 .big-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 0 5px;
    border-radius: .5rem;
}

.gensihin2 .small-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 2px 5px;
    border-radius: .3rem;
}

.gensihin2 .pomo-time-filter{
    backdrop-filter: blur(10px) brightness(.8);
    padding:4px 10px 1px 10px;
    border-radius: .5rem;
}

.gensihin2 .reset{
    color: #ffffff;
}

/* ///////////////////////////// */


.car {
    /* background-color: #222; */
    background: url(../images/new/lorenzo-lanfranconi-painting-san-donato-g.jpg) no-repeat center;
    background-size: cover;
    color: #f1f1f1;
}

.car .play-button{
    background-color: #43434364;
    /* backdrop-filter: blur(2px) brightness(1.1); */

}
.car .time-tracker{
    color: #ffffff;
    font-weight: 500;
}

.car .big-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 0 5px;
    border-radius: .5rem;
}

.car .small-filter{
    backdrop-filter: blur(1px) brightness(.8);
    padding: 2px 5px;
    border-radius: .3rem;
}

.car .pomo-time-filter{
    backdrop-filter: blur(10px) brightness(.8);
    padding:4px 10px 1px 10px;
    border-radius: .5rem;
}

.car .reset{
    color: #ffffff;
}

/*/////////////////////////////////*/


body{
    margin:0;
    min-height:100vh;


    font-family:IRANSans,Tahoma,sans-serif;

    background:
            radial-gradient(
                    circle at top left,
                    #6b7cff,
                    transparent 40%
            ),
            radial-gradient(
                    circle at center,
                    #d13cff,
                    transparent 50%
            ),
            radial-gradient(
                    circle at bottom right,
                    #ff3d5a,
                    transparent 45%
            ),
            linear-gradient(
                    135deg,
                    #6b7cff,
                    #ff5d7a
            );
}

.hero-timer{
    margin-top:20px;
    text-align:center;
    width:100%;
}



.big-timer{

    font-size:clamp(
            6rem,
            20vw,
            14rem
    );

    font-weight:900;

    color:white;

    line-height:1;

    letter-spacing:-8px;

    text-shadow:
            0 10px 30px rgba(0,0,0,.15);

    user-select:none;
}

.big-timer{

    animation: float 5s ease-in-out infinite;

}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }

}

/*دکمه های زیر تایمر*/


.control-panel{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
    margin-top:13px;
}

.mode-card{

    display:flex;
    align-items:center;
    justify-content:center;

    gap:15px;

    padding:12px 20px;

    border-radius:20px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:
            0 10px 25px rgba(0,0,0,.15);

    transition:.3s;
}

.mode-card:hover{

    transform:translateY(-3px);

    background:rgba(255,255,255,.12);
}
.mode-text{

    color:white;

    font-size:1rem;

    font-weight:600;

    letter-spacing:.5px;
}
.mode-switch{

    display: flex;
    align-items: center;
    justify-content: center;

    border:none;

    width:40px;
    height:40px;

    border-radius:12px;

    background:rgba(255,255,255,.1);

    color:white;

    cursor:pointer;

    transition:.3s;
}

.mode-switch:hover{

    transform:rotate(180deg);

    background:rgba(255,255,255,.2);
}
.actions{

    display:flex;
    gap:15px;
}
.action-btn{

    width:58px;
    height:58px;

    border:none;

    border-radius:18px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.12);

    color:white;

    cursor:pointer;

    transition:.3s;

    box-shadow:
            0 10px 20px rgba(0,0,0,.15);
}
.action-btn i{

    font-size:1.2rem;
}
.action-btn:hover{

    transform:
            translateY(-4px)
            scale(1.05);

    background:rgba(255,255,255,.15);

    box-shadow:
            0 15px 30px rgba(0,0,0,.25);
}
#start-time{

    background:
            linear-gradient(
                    135deg,
                    #00c853,
                    #00e676);

    color:white;
}
#stop-time{

    background:
            linear-gradient(
                    135deg,
                    #ff9100,
                    #ffab40);

    color:white;
}
#reset{

    background:
            linear-gradient(
                    135deg,
                    #546e7a,
                    #78909c);

    color:white;
}

#reset{
    background: rgba(255,255,255,.15);
}

#reset:hover{
    background:#ff5c5c;
}

.mode-icon{
    color:white;
    font-size:1.1rem;
}

.mode-switch:hover i{
    transform: rotate(180deg);
}

.mode-switch i{
    transition: .4s;
}

.pomodoro-app{

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    min-height:70vh;
}

.settings-panel{

    display:flex;

    gap:20px;

    margin-bottom:80px;

    flex-wrap:wrap;
}

.setting-box{

    display:flex;

    align-items:center;

    gap:10px;

    padding:15px 20px;

    border-radius:20px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);
}

.setting-box input{

    width:60px;

    border:none;

    outline:none;

    border-radius:10px;

    text-align:center;

    padding:8px;

    background:rgba(255,255,255,.15);

    color:white;
}


.big-timer{

    font-size:9rem;

    font-weight:800;

    line-height:1;

    color:white;

    text-shadow:
            0 0 25px rgba(255,255,255,.3);
}

.session-title{

    margin-top:0px;

    font-size:1.3rem;

    font-weight:600;

    color:white;

    opacity:.9;
}

.session-title{
    transform: translateY(-20px);
}

.controls{

    display:flex;

    gap:18px;

    margin-top:40px;
}

.control-btn{

    width:70px;

    height:70px;

    border:none;

    border-radius:22px;

    cursor:pointer;

    color:white;

    font-size:1.4rem;

    transition:.25s;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.15);
}

.control-btn:hover{

    transform:translateY(-4px);

    background:rgba(255,255,255,.18);
}

.primary-btn{

    background:#00d26a;
}

.primary-btn:hover{

    transform:translateY(-4px) scale(1.05);
}

@media(max-width:768px){

    .big-timer{

        font-size:5rem;
    }

    .controls{

        gap:12px;
    }

    .control-btn{

        width:60px;
        height:60px;
    }

}

.session-title{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    font-size:1.3rem;

    font-weight:600;
}

/* ===== Modern Pomodoro UI ===== */
.pomodoro-app{display:flex;flex-direction:column;align-items:center;justify-content:center}
.settings-panel{display:flex;gap:24px;justify-content:center;margin-bottom:55px;margin-top:25px;flex-wrap:wrap}
.setting-box{
backdrop-filter:blur(14px);
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.12);
border-radius:24px;
padding:18px 26px;
display:flex;
align-items:center;
gap:10px;
}

.setting-unit{
    font-size:1rem;
}

.setting-label{
    font-size:1rem;
}

.setting-box input{
width:70px;border:none;outline:none;
background:rgba(255,255,255,.12);
border-radius:14px;
padding:8px;text-align:center;color:white;
}
.timer-section{display:flex;justify-content:center}
.big-timer{
font-size:clamp(6rem,13vw,14rem);
font-weight:300;
color:white;
line-height:1;
text-align:center;
}
.session-title{
display:flex;
align-items:center;
justify-content:center;
gap:10px;
margin-top:20px;
font-size:1.6rem;
color:white;
}
.controls{
display:flex;
gap:18px;
justify-content:center;
margin-top:15px;
}
.control-btn{
width:70px;height:70px;border:none;
border-radius:22px;
border-radius:22px;
cursor:pointer;
backdrop-filter:blur(14px);
background:rgba(255,255,255,.12);
color:white;
transition:.25s;
}
.control-btn:hover{
transform:translateY(-4px) scale(1.05);
}
.primary-btn{
background:#09d85b;
color:white;
}

.control-btn{
    display:flex;
    justify-content:center;
    align-items:center;
}

.control-btn i{
    font-size: 1.2rem;
}

/* =========================
   THEME NAVIGATION
========================= */

.theme-nav{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;

    width: 50px;
    height: 90px;

    border: none;
    cursor: pointer;

    color: white;
    font-size: 1.6rem;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    background: rgba(255,255,255,.12);

    transition: .35s ease;

    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-nav-left{
    left: 0;
    border-radius: 0 24px 24px 0;
}

.theme-nav-right{
    right: 0;
    border-radius: 24px 0 0 24px;
}

.theme-nav:hover{
    width: 60px;

    background: rgba(255,255,255,.18);

    box-shadow:
            0 10px 30px rgba(0,0,0,.15),
            0 0 25px rgba(255,255,255,.15);
}

.theme-nav i{
    transition: .3s;
}

.theme-nav-left:hover i{
    transform: translateX(-4px);
}

.theme-nav-right:hover i{
    transform: translateX(4px);
}

@media(max-width:768px){

    .theme-nav{
        width: 55px;
        height: 85px;
        font-size: 1.2rem;
    }

}

/*header*/
.app-header{

    width:min(92%,1400px);

    margin:10px auto;

    padding:10px 36px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    border-radius:32px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.15);

    box-shadow:
            0 8px 32px rgba(0,0,0,.08);

}

.brand{

    display:flex;
    align-items:center;
    gap:18px;

}

.brand-text h1{

    margin:0;

    color:white;

    font-size:1.2rem;

    font-weight:700;

}

.brand-text p{

    margin-top:6px;

    color:rgba(255,255,255,.8);

    font-size:.95rem;

    display:none;

}

.logo{

    width:52px;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:linear-gradient(
            135deg,
            rgba(187,98,255,.9),
            rgba(135,82,255,.9)
    );

    color:white;

    font-size:1.3rem;
}

.header-actions{

    display:flex;
    align-items:center;
    gap:16px;

}

.header-btn{

    width:45px;
    height:45px;
    padding:0 14px;

    border:none;

    border-radius:14px;
    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    color:white;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    cursor:pointer;

    transition:.3s;
}

.header-btn:hover{

    transform:translateY(-3px);

    background:rgba(255,255,255,.15);

}

.header-btn i{

    font-size:1rem;

}

.todo{
    width:100%;
}

/*.status{*/
/*    font-size:1.5rem;*/
/*}*/

.setting-box input::-webkit-inner-spin-button{

    opacity:1;

    height: 25px;

    cursor:pointer;

    filter:invert(1);

}

.setting-box input::-webkit-inner-spin-button{

    filter:brightness(1) invert(0);

}


#install-btn{
    display: none;
}


