/* ===========================
   More Page
=========================== */

body{
    margin:0;
    background:#F5F7FB;
    font-family:"AdorshoLipi",sans-serif;
}

/* Header */

.page-header{
    position:relative;
    background:#1976D2;
    color:#fff;
    height:65px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 3px 12px rgba(0,0,0,.15);
}

.page-header h1{
    margin:0;
    font-size:22px;
}

.back-btn{
    position:absolute;
    left:15px;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#fff;
    font-size:24px;
    background:rgba(255,255,255,.18);
    border-radius:50%;
}

/* Content */

.page-content{
    padding:18px;
    padding-bottom:90px;
}

/* Welcome Card */

.welcome-card{
    background:linear-gradient(135deg,#1976D2,#42A5F5);
    color:#fff;
    border-radius:25px;
    text-align:center;
    padding:15px 10px;
    margin-bottom:22px;
    box-shadow:0 8px 20px rgba(25,118,210,.25);
}

.welcome-avatar{
    width:80px;
    height:80px;
    margin:auto;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 6px 18px rgba(0,0,0,.18);
    margin-bottom:15px;
}

.welcome-avatar img{
    width:58px;
    height:58px;
    object-fit:contain;
}

.welcome-card h2{
    margin:0;
    font-size:20px;
}

.welcome-card h3{
    margin:8px 0;
    font-size:28px;
}

.welcome-card p{
    margin:0;
    opacity:.95;
    font-size:14px;
}

/* Dashboard */

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-bottom:25px;
}

.dashboard-card{
    background:#fff;
    border-radius:20px;
    text-decoration:none;
    color:#333;
    text-align:center;
    padding:20px 10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.25s;
}

.dashboard-card:active{
    transform:scale(.96);
}

.dashboard-card .icon{
    font-size:34px;
    margin-bottom:10px;
}

.dashboard-card span{
    display:block;
    font-size:16px;
    font-weight:bold;
}

/* Today Card */

.today-card{
    background:#fff;
    border-radius:20px;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.today-card h2{
    margin-top:0;
    color:#1976D2;
    font-size:22px;
}

.today-item{
    background:#F5F7FB;
    padding:14px;
    border-radius:14px;
    margin-top:12px;
    font-size:16px;
}

/* Footer */

.app-footer{
    text-align:center;
    color:#777;
    margin:30px 0 10px;
    font-size:14px;
}

/* Mobile */

@media(max-width:480px){

.dashboard-grid{
    gap:12px;
}

.dashboard-card{
    padding:18px 8px;
}

.dashboard-card .icon{
    font-size:30px;
}

.dashboard-card span{
    font-size:15px;
}

.welcome-card h3{
    font-size:24px;
}

}

/* Dark Mode */

body.dark-mode{
    background:#121212;
    color:#fff;
}

body.dark-mode .dashboard-card,
body.dark-mode .today-card{
    background:#1E1E1E;
    color:#fff;
}

body.dark-mode .today-item{
    background:#2A2A2A;
    color:#fff;
}

body.dark-mode .app-footer{
    color:#bbb;
}

.tagline{
    margin-top:12px;
    font-size:15px;
    font-weight:bold;
    color:rgba(255,255,255,.95);
    letter-spacing:.3px;
}

.app-version{
    display:inline-block;
    margin:8px 0 14px;
    padding:5px 14px;
    border-radius:20px;
    background:rgba(255,255,255,.18);
    color:#fff;
    font-size:13px;
    font-weight:bold;
    border:1px solid rgba(255,255,255,.25);
}

.coming-soon{

opacity:.55;

pointer-events:none;

}

/* =====================================================
   Smart Pekua - More Page
   Today's Information
   ===================================================== */


/* =========================
   Today's Information Card
   ========================= */

.today-card {
    width: 100%;
    box-sizing: border-box;
    margin: 22px 0 25px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        rgba(30, 136, 229, 0.08),
        rgba(255, 255, 255, 0.95)
    );
    border: 1px solid rgba(30, 136, 229, 0.12);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}


/* =========================
   Section Title
   ========================= */

.today-card h2 {
    margin: 0 0 16px;
    padding-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


/* =========================
   Today's Items
   ========================= */

.today-item {
    position: relative;

    width: 100%;
    min-height: 58px;

    box-sizing: border-box;

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

    margin-top: 11px;
    padding: 12px 14px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.045);

    color: #263238;
    font-size: 15px;
    line-height: 1.45;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* =========================
   Left Accent Line
   ========================= */

.today-item::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background: #1e88e5;

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


/* =========================
   Hover / Touch Effect
   ========================= */

.today-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.08);

    border-color: rgba(30, 136, 229, 0.18);
}


/* =========================
   Strong Text
   ========================= */

.today-item strong {
    display: inline-block;

    margin-right: 4px;

    color: #1565c0;
    font-weight: 700;
}


/* =========================
   Small Information
   ========================= */

.today-item small {
    display: inline;
    color: #607d8b;
    font-size: 13px;
}


/* =========================
   Loading Animation
   ========================= */

.today-item small:empty {
    display: none;
}


/* =========================
   Individual Item Accent
   ========================= */

/* Weather */
.today-item:nth-child(2)::before {
    background: #42a5f5;
}

/* Prayer */
.today-item:nth-child(3)::before {
    background: #7e57c2;
}

/* Announcement */
.today-item:nth-child(4)::before {
    background: #ff9800;
}

/* Blood */
.today-item:nth-child(5)::before {
    background: #e53935;
}


/* =========================
   Mobile
   ========================= */

@media (max-width: 480px) {

    .today-card {
        margin-top: 18px;
        padding: 14px;
        border-radius: 18px;
    }

    .today-card h2 {
        font-size: 18px;
        margin-bottom: 13px;
    }

    .today-item {
        min-height: 56px;
        padding: 11px 12px;

        font-size: 14px;

        border-radius: 14px;
    }

    .today-item small {
        font-size: 12px;
    }

}


/* =========================
   Dark Mode
   ========================= */

body.dark-mode .today-card,
.dark-mode .today-card {
    background: linear-gradient(
        145deg,
        rgba(30, 136, 229, 0.12),
        rgba(30, 30, 30, 0.95)
    );

    border-color: rgba(255, 255, 255, 0.08);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25);
}


body.dark-mode .today-card h2,
.dark-mode .today-card h2 {
    color: #f1f5f9;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}


body.dark-mode .today-item,
.dark-mode .today-item {
    background: rgba(40, 40, 40, 0.92);

    border-color: rgba(255, 255, 255, 0.07);

    color: #e5e7eb;
}


body.dark-mode .today-item strong,
.dark-mode .today-item strong {
    color: #64b5f6;
}


body.dark-mode .today-item small,
.dark-mode .today-item small {
    color: #b0bec5;
}


/* =========================
   Entrance Animation
   ========================= */

.today-item {
    animation: todayItemIn 0.45s ease both;
}

.today-item:nth-child(2) {
    animation-delay: 0.05s;
}

.today-item:nth-child(3) {
    animation-delay: 0.10s;
}

.today-item:nth-child(4) {
    animation-delay: 0.15s;
}

.today-item:nth-child(5) {
    animation-delay: 0.20s;
}


@keyframes todayItemIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}