/*==================================
  IQRANIX - PRAYER.CSS (PART 1)
==================================*/

:root{

    --primary:#0B6E4F;
    --primary-dark:#07523B;
    --gold:#D4AF37;
    --background:#071515;
    --surface:#102727;
    --surface-light:#183838;
    --white:#FFFFFF;
    --text:#E8F3F1;
    --muted:#A8C0BC;
    --shadow:0 12px 30px rgba(0,0,0,.25);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

body{

    font-family:"Poppins",sans-serif;
    background:var(--background);
    color:var(--text);

}

a{

    text-decoration:none;
    color:inherit;

}

.container{

    width:100%;
    max-width:520px;
    margin:auto;
    padding:18px;
    padding-bottom:110px;

}

/*==================
HEADER
==================*/

.header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;

}

.back-btn,
.refresh-btn{

    width:48px;
    height:48px;
    border:none;
    border-radius:15px;
    background:rgba(255,255,255,.08);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    cursor:pointer;

}

.header h1{

    font-size:24px;
    font-weight:700;

}

.header p{

    font-size:13px;
    color:var(--muted);

}

/*==================
LOCATION CARD
==================*/

.location-card{

    background:var(--surface);
    border-radius:22px;
    padding:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    box-shadow:var(--shadow);

}

.location-left{

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

}

.location-left i{

    font-size:26px;
    color:var(--gold);

}

.location-left h3{

    font-size:18px;

}

.location-left p{

    color:var(--muted);
    font-size:13px;

}

.date-box{

    text-align:right;

}

.date-box p{

    font-size:13px;
    margin:4px 0;

}

/*==================
NEXT PRAYER
==================*/

.next-prayer{

    background:linear-gradient(135deg,#0B6E4F,#16A085);
    border-radius:24px;
    padding:24px;
    text-align:center;
    margin-bottom:25px;
    box-shadow:var(--shadow);

}

.label{

    font-size:14px;
    opacity:.9;

}

.next-prayer h2{

    font-size:28px;
    margin:10px 0;

}

.next-prayer h1{

    font-size:42px;
    color:#FFE082;
    margin-bottom:18px;

}

.progress{

    width:100%;
    height:10px;
    background:rgba(255,255,255,.18);
    border-radius:30px;
    overflow:hidden;

}

.progress-bar{

    width:35%;
    height:100%;
    background:var(--gold);
    border-radius:30px;

}/*==================================
  PRAYER LIST
==================================*/

.prayers{

    margin-bottom:28px;

}

.prayers h2{

    font-size:22px;
    margin-bottom:18px;

}

.prayer-card{

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

    background:var(--surface);

    border-radius:20px;

    padding:18px;

    margin-bottom:15px;

    box-shadow:var(--shadow);

    transition:.3s;

}

.prayer-card:hover{

    transform:translateY(-3px);

}

.prayer-card.active{

    background:linear-gradient(135deg,#0B6E4F,#16A085);

    border:2px solid var(--gold);

}

.prayer-info{

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

}

.prayer-icon{

    width:55px;
    height:55px;

    border-radius:16px;

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

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

    font-size:28px;

}

.prayer-card h3{

    font-size:18px;
    margin-bottom:4px;

}

.prayer-card p{

    font-size:13px;
    color:var(--muted);

}

.prayer-card.active p{

    color:#E8F3F1;

}

.prayer-card h2{

    font-size:24px;
    color:var(--gold);

}

/*==================================
  QUICK ACTIONS
==================================*/

.quick-actions{

    margin-bottom:30px;

}

.quick-actions h2{

    font-size:22px;
    margin-bottom:18px;

}

.action-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);

    gap:16px;

}

.action-card{

    background:linear-gradient(135deg,#133737,#1E5050);

    border-radius:22px;

    padding:22px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.3s;

}

.action-card:hover{

    transform:translateY(-5px);

}

.action-icon{

    width:65px;
    height:65px;

    margin:0 auto 15px;

    border-radius:18px;

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

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

    font-size:30px;

}

.action-card h3{

    font-size:18px;
    margin-bottom:8px;

}

.action-card p{

    color:var(--muted);
    font-size:13px;

}/*==================================
  PRAYER REMINDER
==================================*/

.tips-section{

    margin-bottom:30px;

}

.tips-section h2{

    font-size:22px;
    margin-bottom:18px;

}

.tips-card{

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

    background:linear-gradient(135deg,#0B6E4F,#11825F);

    border-radius:22px;

    padding:20px;

    box-shadow:var(--shadow);

}

.tips-icon{

    width:60px;
    height:60px;

    border-radius:18px;

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

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

    font-size:30px;

}

.tips-content h3{

    font-size:18px;
    margin-bottom:8px;

}

.tips-content p{

    font-size:14px;
    line-height:1.7;
    color:#F5F5F5;

}

/*==================================
  FOOTER
==================================*/

.footer{

    text-align:center;

    margin:35px 0 110px;

}

.footer h3{

    color:var(--gold);

    font-size:24px;

    margin-bottom:8px;

}

.footer p{

    color:var(--muted);

    margin-bottom:6px;

}

.footer small{

    color:#8DA7A3;

}

/*==================================
  BOTTOM NAVIGATION
==================================*/

.bottom-nav{

    position:fixed;

    left:50%;

    bottom:15px;

    transform:translateX(-50%);

    width:calc(100% - 24px);

    max-width:520px;

    background:rgba(16,39,39,.95);

    backdrop-filter:blur(15px);

    display:flex;

    justify-content:space-around;

    align-items:center;

    padding:12px;

    border-radius:24px;

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

    z-index:1000;

}

.nav-item{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:5px;

    color:#B7C5C5;

    font-size:12px;

    transition:.3s;

}

.nav-item i{

    font-size:20px;

}

.nav-item.active{

    color:var(--gold);

}

.nav-item:hover{

    color:#FFFFFF;

}

/*==================================
  ANIMATIONS
==================================*/

.header,
.location-card,
.next-prayer,
.prayer-card,
.action-card,
.tips-card{

    animation:fadeUp .6s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================
  RESPONSIVE
==================================*/

@media (max-width:480px){

    .location-card{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .date-box{

        text-align:left;

    }

    .action-grid{

        grid-template-columns:1fr;

    }

    .next-prayer h1{

        font-size:34px;

    }

}

@media (max-width:340px){

    .prayer-card{

        flex-direction:column;

        gap:12px;

        text-align:center;

    }

    .prayer-info{

        flex-direction:column;

    }

}