.jw-prayer-app-wrapper {
    direction: rtl;
    font-family: 'Tahoma', sans-serif;
    max-width: 800px;
    margin: 20px auto;
}

.jw-prayer-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.jw-card-header{
	display:inline-block;
}
.jw-card-header h2 {
    margin: 0 0 10px 0;
    color: #1a508b;
    font-size: 24px;
}
.jw-date-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
.jw-english-date {
    align-items: center;
    width: 100%; 
    max-width: 450px;
    background: linear-gradient(135deg, #103661, #081d35);
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
	margin-bottom:15px;
}
.jw-date-part {
    flex-shrink: 0;
}
.jw-separator {
    margin: 0 10px;
    color: #fff;
}
.jw-live-time {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Courier, monospace;
    flex-grow: 1;
    text-align: right;
}
@keyframes time-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

.jw-hijri-badge {
    background: #1a508b;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 12px;
	border-radius:50px;
}
.jw-prayer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.jw-p-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.2s;
}

.jw-p-item:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
}

.jw-p-name-en { display: block; font-weight: bold; color: #1e293b; margin-bottom: 2px; }
.jw-p-name-ur { display: block; font-size: 12px; color: #64748b; }
.jw-p-time { display: block; font-size: 18px; font-weight: bold; color: #1a508b; margin-top: 8px; }

.jw-countries-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.jw-countries-footer h3 {
    text-align: center;
    color: #334155;
    margin-bottom: 20px;
}

.jw-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.jw-country-link {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    transition: 0.2s;
}

.jw-country-link:hover {
    background: #1a508b;
    color: #fff;
    border-color: #1a508b;
}
.jw-loader-container { grid-column: 1 / -1; padding: 40px 0; }
.jw-spinner {
    width: 40px; height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1a508b;
    border-radius: 50%;
    margin: 0 auto 10px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.jw-lang-switcher {
    text-align: center;
    margin-bottom: 20px;
}
.jw-lang-btn {
    padding: 8px 20px;
    border: 1px solid #1a508b;
    background: #fff;
    color: #1a508b;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 5px;
    transition: 0.3s;
}
.jw-lang-btn.active {
    background: #1a508b;
    color: #fff;
}
.jw-lang-btn:hover {
    background: #f1f5f9;
}
.jw-lang-btn.active:hover {
    background: #1a508b;
}
.jw-cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.jw-city-switch-btn {
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #1a508b;
    color: #1a508b;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.jw-city-switch-btn:hover {
    background: #f1f5f9;
}