/* Modern, Sleek Typography & Layout */
.prayer-page-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}
.prayer-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}
.prayer-page-header p {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
}

/* Minimalist Sleek Legend Bar */
.map-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.legend-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    font-weight: 600;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-silence { background-color: #2563eb; }   /* Blue */
.dot-informal { background-color: #059669; }  /* Green */
.dot-mosque { background-color: #7c3aed; }    /* Purple */

/* Main Grid Layout */
.prayer-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.prayer-list {
    flex: 1;
    min-width: 320px;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 4px;
}
/* Custom scrollbar for list */
.prayer-list::-webkit-scrollbar {
    width: 6px;
}
.prayer-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

#map {
    flex: 1.5;
    min-width: 320px;
    height: 550px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Sleek Card Styling with Left Accent Border */
.prayer-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
    position: relative;
}
.prayer-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: #d1d5db;
}

/* Category border accents */
.card-silence { border-left: 4px solid #2563eb; }
.card-informal { border-left: 4px solid #059669; }
.card-mosque { border-left: 4px solid #7c3aed; }

.prayer-card h3 {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}
.prayer-card p {
    margin: 0 0 8px 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.4;
}
.prayer-address {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.back-link:hover {
    text-decoration: underline;
}