.axyverax-prayer-times{
    --axy-primary:#0f5bd8;
    --axy-primary-dark:#08a0ff;
    --axy-bg:#ffffff;
    --axy-surface:#f4f8ff;
    --axy-text:#0c1730;
    --axy-muted:#62708d;
    --axy-border:#d7e3f4;
    --axy-soft:#edf4ff;
    background:linear-gradient(180deg,#ffffff 0%,#f4f8ff 100%);
    border:1px solid var(--axy-border);
    border-radius:22px;
    padding:22px;
    box-shadow:0 18px 40px rgba(15,23,42,.08);
    color:var(--axy-text);
    overflow:hidden;
}

.axyverax-prayer-times--dark,
body.dark-mode .axyverax-prayer-times{
    --axy-primary:#1d7cff;
    --axy-primary-dark:#2ec5ff;
    --axy-bg:#0d1730;
    --axy-surface:#112040;
    --axy-text:#f3f7ff;
    --axy-muted:#b7c7e6;
    --axy-border:#24395f;
    --axy-soft:#12284f;
    background:linear-gradient(180deg,#0d1730 0%,#101d38 100%);
    box-shadow:0 24px 46px rgba(0,0,0,.34);
}

.axyverax-prayer-times__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:18px;
}
.axyverax-prayer-times__title{
    margin:0 0 8px;
    font-size:26px;
    line-height:1.2;
}
.axyverax-prayer-times__meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    color:var(--axy-muted);
    font-size:13px;
}
.axyverax-prayer-times__meta span{
    background:rgba(255,255,255,.55);
    border:1px solid var(--axy-border);
    border-radius:999px;
    padding:6px 10px;
}
.axyverax-prayer-times--dark .axyverax-prayer-times__meta span{
    background:rgba(15,23,42,.5);
}
.axyverax-prayer-times__brand img{
    width:74px;
    height:auto;
    display:block;
}
.axyverax-prayer-times__countdown{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:16px 18px;
    border-radius:18px;
    background:linear-gradient(90deg,var(--axy-primary) 0%,var(--axy-primary-dark) 100%);
    color:#fff;
    margin-bottom:18px;
}
.axyverax-prayer-times__countdown-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}
.axyverax-prayer-times__countdown-top span{
    display:block;
    opacity:.95;
    margin-top:4px;
}
.axyverax-prayer-times__countdown-clock{
    font-size:28px;
    font-weight:700;
    letter-spacing:1px;
    white-space:nowrap;
}
.axyverax-prayer-times__progress{
    height:8px;
    background:rgba(255,255,255,.22);
    border-radius:999px;
    overflow:hidden;
}
.axyverax-prayer-times__progress span{
    display:block;
    width:0;
    height:100%;
    background:#fff;
    border-radius:999px;
    transition:width .5s ease;
}
.axyverax-prayer-times__table-wrap{
    overflow:auto;
    border:1px solid var(--axy-border);
    border-radius:18px;
    background:var(--axy-bg);
}
.axyverax-prayer-times__table{
    width:100%;
    border-collapse:collapse;
    min-width:760px;
}
.axyverax-prayer-times__table th,
.axyverax-prayer-times__table td{
    padding:14px 12px;
    text-align:center;
    border-bottom:1px solid var(--axy-border);
}
.axyverax-prayer-times__table thead th{
    background:var(--axy-surface);
    color:var(--axy-text);
    font-size:14px;
}
.axyverax-prayer-times__table tbody tr:last-child td{
    border-bottom:none;
}
.axyverax-prayer-times__table tbody tr.is-today{
    background:var(--axy-soft);
}
.axyverax-prayer-times__table td:first-child,
.axyverax-prayer-times__table th:first-child{
    text-align:left;
    min-width:170px;
}
.axyverax-prayer-times__table td:first-child span{
    display:block;
    margin-top:4px;
    font-size:12px;
    color:var(--axy-muted);
}
.axyverax-prayer-times__table td.is-active{
    color:var(--axy-primary-dark);
    font-weight:700;
}
.axyverax-prayer-times__footer{
    margin-top:18px;
    color:var(--axy-muted);
    font-size:13px;
}
.axyverax-prayer-times--error{
    border-color:#fecaca;
    background:#fff1f2;
    color:#991b1b;
}
@media (max-width: 640px){
    .axyverax-prayer-times{
        padding:18px;
    }
    .axyverax-prayer-times__header,
    .axyverax-prayer-times__countdown-top{
        flex-direction:column;
        align-items:flex-start;
    }
    .axyverax-prayer-times__title{
        font-size:22px;
    }
    .axyverax-prayer-times__countdown-clock{
        font-size:24px;
    }
}

body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__title,
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__table thead th,
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__table td,
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__table th{
    color:var(--axy-text);
}
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__meta span{
    background:rgba(255,255,255,.05);
    border-color:var(--axy-border);
}
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__table-wrap{
    background:var(--axy-bg);
}
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__footer,
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__table td:first-child span{
    color:var(--axy-muted);
}


/* v1.1.2 compact today-only layout */
.axyverax-prayer-times--today-only .axyverax-prayer-times__table-wrap,
.axyverax-prayer-times--today-only .axyverax-prayer-times__table{
	display:none;
}
.axyverax-prayer-times__today-list{
	display:grid;
	grid-template-columns:1fr;
	gap:10px;
	margin-top:16px;
}
.axyverax-prayer-times__today-item{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	padding:14px 16px;
	border:1px solid var(--axy-border, #d7e3f4);
	border-radius:16px;
	background:var(--axy-soft, #edf4ff);
	color:var(--axy-text, #0c1730);
}
.axyverax-prayer-times__today-item span{
	color:var(--axy-muted, #62708d);
	font-weight:600;
}
.axyverax-prayer-times__today-item strong{
	font-size:18px;
	line-height:1;
	color:var(--axy-text, #0c1730);
}
.axyverax-prayer-times__today-item.is-active{
	background:linear-gradient(135deg, var(--axy-primary, #0f5bd8), var(--axy-primary-dark, #08a0ff));
	border-color:transparent;
}
.axyverax-prayer-times__today-item.is-active span,
.axyverax-prayer-times__today-item.is-active strong{
	color:#fff;
}


/* =========================================================
   AXYVERAX Prayer Compact Widget Mode
   Author: axyverax
   ========================================================= */

.axyverax-prayer-times,
.axyverax-prayer-times *{
    box-sizing:border-box;
}

.axyverax-prayer-times{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

.axyverax-prayer-times__table-wrap{
    max-width:100%;
    overflow-x:auto;
}

.axyverax-prayer-times__table{
    min-width:0 !important;
    width:100% !important;
}

.axyverax-prayer-times--today-only .axyverax-prayer-times__header{
    align-items:flex-start;
}

.axyverax-prayer-times--today-only .axyverax-prayer-times__brand{
    flex:0 0 auto;
}

.axyverax-prayer-times--today-only .axyverax-prayer-times__brand img{
    width:56px;
}

.axyverax-prayer-times__today-list{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}

.axyverax-prayer-times__today-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 16px;
    border:1px solid var(--axy-border);
    background:var(--axy-bg);
    border-radius:16px;
    min-width:0;
}

.axyverax-prayer-times__today-item span{
    color:var(--axy-muted);
    font-weight:600;
}

.axyverax-prayer-times__today-item strong{
    color:var(--axy-text);
    font-size:16px;
    white-space:nowrap;
}

.axyverax-prayer-times__today-item.is-active{
    border-color:var(--axy-primary);
    box-shadow:0 0 0 2px rgba(22,119,255,.10);
}

.axyverax-prayer-times--widget{
    padding:18px;
    border-radius:18px;
}

.axyverax-prayer-times--widget .axyverax-prayer-times__title{
    font-size:22px;
    margin-bottom:6px;
}

.axyverax-prayer-times--widget .axyverax-prayer-times__meta{
    gap:6px 8px;
    font-size:12px;
}

.axyverax-prayer-times--widget .axyverax-prayer-times__meta span{
    max-width:100%;
}

.axyverax-prayer-times--widget .axyverax-prayer-times__countdown{
    padding:14px 16px;
    border-radius:16px;
}

.axyverax-prayer-times--widget .axyverax-prayer-times__countdown-clock{
    font-size:24px;
}

body.light-mode .axyverax-prayer-times{
    color:#0f172a !important;
}

body.light-mode .axyverax-prayer-times .axyverax-prayer-times__title,
body.light-mode .axyverax-prayer-times strong,
body.light-mode .axyverax-prayer-times td,
body.light-mode .axyverax-prayer-times th{
    color:#0f172a !important;
}

body.light-mode .axyverax-prayer-times .axyverax-prayer-times__meta,
body.light-mode .axyverax-prayer-times .axyverax-prayer-times__today-item span,
body.light-mode .axyverax-prayer-times .axyverax-prayer-times__footer{
    color:#475569 !important;
}

body:not(.light-mode) .axyverax-prayer-times,
body.dark-mode .axyverax-prayer-times{
    color:#e5eefc !important;
}

body:not(.light-mode) .axyverax-prayer-times .axyverax-prayer-times__title,
body:not(.light-mode) .axyverax-prayer-times strong,
body:not(.light-mode) .axyverax-prayer-times td,
body:not(.light-mode) .axyverax-prayer-times th,
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__title,
body.dark-mode .axyverax-prayer-times strong,
body.dark-mode .axyverax-prayer-times td,
body.dark-mode .axyverax-prayer-times th{
    color:#e5eefc !important;
}

body:not(.light-mode) .axyverax-prayer-times .axyverax-prayer-times__meta,
body:not(.light-mode) .axyverax-prayer-times .axyverax-prayer-times__today-item span,
body:not(.light-mode) .axyverax-prayer-times .axyverax-prayer-times__footer,
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__meta,
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__today-item span,
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__footer{
    color:#b7c7e6 !important;
}

@media (max-width: 640px){
    .axyverax-prayer-times__today-list{
        grid-template-columns:1fr;
    }

    .axyverax-prayer-times--widget .axyverax-prayer-times__header{
        gap:12px;
    }

    .axyverax-prayer-times--widget .axyverax-prayer-times__countdown-top{
        flex-direction:column;
        align-items:flex-start;
    }
}


/* v1.1.6 final polish */
.axyverax-prayer-times__today-list{
    grid-template-columns:1fr !important;
}
.axyverax-prayer-times__today-item{
    background:var(--axy-bg) !important;
}
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__today-item:not(.is-active),
body:not(.light-mode) .axyverax-prayer-times .axyverax-prayer-times__today-item:not(.is-active){
    background:#0f1f3d !important;
    border-color:#24395f !important;
}
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__today-item:not(.is-active) strong,
body.dark-mode .axyverax-prayer-times .axyverax-prayer-times__today-item:not(.is-active) span,
body:not(.light-mode) .axyverax-prayer-times .axyverax-prayer-times__today-item:not(.is-active) strong,
body:not(.light-mode) .axyverax-prayer-times .axyverax-prayer-times__today-item:not(.is-active) span{
    color:#e5eefc !important;
}
