* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 50%, #e8f0ff 100%);
    min-height: 100vh;
    transition: all 0.3s ease;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body.dark-mode {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #1a202c 100%);
    color: white;
}

.container {
    max-width: 428px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden; /* FIXED: Prevent horizontal scroll that causes shifting */
}

/* Unified Navigation Panel - FIXED */
.navigation {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 428px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dark-mode .navigation {
    background: rgba(45, 55, 72, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    height: 100%;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-large {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    flex-shrink: 0;
}

.logo-icon-large i {
    color: white;
    font-size: 24px;
}

/* Content Section - Title and Time/Dates */
.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 48px;
}

.app-title {
    font-size: 18px;
    font-weight: bold;
    color: #2d5016;
    line-height: 1.2;
    margin-bottom: 4px;
}

.dark-mode .app-title {
    color: #4CAF50;
}

/* Dates Section - Repositioned and Styled */
.dates-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.3;
    opacity: 0.9;
    margin-top: 2px;
}

.gregorian-date,
.islamic-date {
    white-space: nowrap;
    font-weight: 500;
}

.gregorian-date {
    color: #4CAF50;
    font-weight: 600;
}

.islamic-date {
    color: #666;
    font-size: 12px;
}

.dark-mode .islamic-date {
    color: #999;
}

/* Main Content - FIXED PADDING TO PREVENT OVERLAP */
.main-content {
    padding: 88px 20px 110px;
    min-height: 100vh;
    width: 100%; /* FIXED: Ensure stable width */
    position: relative; /* FIXED: Contain positioning context */
}

/* Prayer Times */
.prayer-times {
    margin: 0 auto 8px auto;
    max-width: 428px;
}

.prayer-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative; /* FIXED: Stable positioning */
}

.prayer-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.dark-mode .prayer-card {
    background: rgba(45, 55, 72, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prayer-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.prayer-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.prayer-title {
    font-size: 20px;
    font-weight: bold;
    flex: 1;
}

.expand-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    margin-right: 8px;
}

.expand-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: scale(1.1);
}

.expand-btn.expanded {
    background: rgba(76, 175, 80, 0.3);
    transform: rotate(180deg);
}

.expand-btn i {
    color: #4CAF50;
    font-size: 14px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(76, 175, 80, 0.3);
    border-top: 3px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.prayer-list {
    display: grid;
    gap: 12px;
}

.prayer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.prayer-item:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(33, 150, 243, 0.2));
}

.dark-mode .prayer-item {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(33, 150, 243, 0.2));
}

.prayer-name {
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
}

.prayer-time-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prayer-time {
    font-size: 18px;
    font-weight: bold;
    color: #4CAF50;
}

.prayer-check {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

.prayer-check.completed {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.prayer-check:not(.completed) {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.4);
}

.prayer-check:hover {
    transform: scale(1.1);
}

/* Prayer Date Navigation - v1.13 */
.prayer-date-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(33, 150, 243, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.dark-mode .prayer-date-navigation {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
    border-color: rgba(76, 175, 80, 0.3);
}

.date-nav-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4CAF50;
    font-size: 16px;
}

.date-nav-btn:hover:not(:disabled) {
    background: rgba(76, 175, 80, 0.2);
    transform: scale(1.05);
}

.date-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.current-date {
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dark-mode .current-date {
    color: white;
}

.current-date.today {
    color: #4CAF50;
}

.today-badge {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.current-date.future {
    color: #2196F3;
}

.future-badge {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Grid - Uniform 2x3 Layout */
.navigation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.action-btn {
    background: var(--btn-color);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: 110px;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.action-btn:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.action-btn:active,
.action-btn:focus {
    outline: none;
    transform: translateY(-2px) translateZ(0);
}

/* Icon Container - Fixed 48x48 boxes */
.icon-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.icon-container i {
    font-size: 28px;
    color: white;
}

.action-btn span {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

/* Button Colors */
.btn-qibla { --btn-color: #2E7D32; }
.btn-mosques { --btn-color: #8B4513; }
.btn-guides { --btn-color: #1565C0; }
.btn-quran { --btn-color: #388E3C; }
.btn-hadith { --btn-color: #F57C00; }
.btn-calendar { --btn-color: #00695C; }
.btn-prayer-timings { --btn-color: #757575; }
.btn-duas { --btn-color: #9C27B0; }

/* Mosque Finder Styles */
.mosque-section {
    padding: 165px 20px 110px;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.mosque-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 428px;
    z-index: 90;
}

.dark-mode .mosque-header {
    background: rgba(45, 55, 72, 0.95);
}

.mosque-title-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
}

.mosque-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #2d5016;
    margin: 0;
    pointer-events: auto;
}

.dark-mode .mosque-header h2 {
    color: #4CAF50;
}

.back-btn, .location-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.back-btn:hover, .location-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: scale(1.1);
}

.mosque-search {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dark-mode .mosque-search {
    background: rgba(45, 55, 72, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Search Label - NEW */
.search-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #2d5016;
}

.dark-mode .search-label {
    color: #4CAF50;
}

.search-label i {
    color: #4CAF50;
    font-size: 18px;
}

.search-input-container {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.search-input-container input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
}

.dark-mode .search-input-container input {
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

/* Search Help Text - NEW */
.search-help-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
    font-style: italic;
}

.dark-mode .search-help-text {
    color: #999;
}

.search-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

.search-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-filters select {
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.dark-mode .search-filters select {
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.nearby-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nearby-btn:hover {
    transform: translateY(-2px);
}

.mosque-status {
    background: rgba(33, 150, 243, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1976D2;
}

.dark-mode .mosque-status {
    background: rgba(33, 150, 243, 0.2);
}

/* Interactive Map Styles - NEW */
.mosque-map-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin: 0 auto 8px auto;
    max-width: 428px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.dark-mode .mosque-map-container {
    background: rgba(45, 55, 72, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2d5016;
}

.dark-mode .map-header {
    color: #4CAF50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-header i {
    color: #4CAF50;
    font-size: 18px;
}

.mosque-map {
    height: 300px;
    width: 100%;
    position: relative;
}

.map-legend {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
}

.dark-mode .map-legend {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.legend-marker.search-center {
    background: #2196F3;
}

.legend-marker.mosque-marker {
    background: #4CAF50;
}

.legend-marker.search-radius {
    background: transparent;
    border: 2px dashed #FF9800;
    border-radius: 0;
    width: 16px;
    height: 2px;
}

/* Custom Leaflet Popup Styles */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.leaflet-popup-content {
    margin: 16px;
    line-height: 1.4;
}

.mosque-popup {
    min-width: 200px;
}

.mosque-popup-name {
    font-size: 16px;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 8px;
}

.mosque-popup-address {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.mosque-popup-distance {
    font-size: 12px;
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 8px;
}

.mosque-popup-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.mosque-popup-action {
    padding: 4px 8px;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    font-weight: 600;
}

.mosque-popup-action.directions {
    background: #2196F3;
}

.mosque-popup-action.call {
    background: #4CAF50;
}

.mosque-popup-action.website {
    background: #FF9800;
}

.mosque-results {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    min-height: 300px;
    margin: 0 auto;
    max-width: 428px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dark-mode .mosque-results {
    background: rgba(45, 55, 72, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-message {
    text-align: center;
    padding: 40px 24px;
}

.welcome-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: white;
    font-size: 32px;
}

.welcome-message h3 {
    font-size: 24px;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 12px;
}

.dark-mode .welcome-message h3 {
    color: #4CAF50;
}

.welcome-message p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.dark-mode .welcome-message p {
    color: #999;
}

.quick-actions-mosques {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-action {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.mosque-card {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dark-mode .mosque-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mosque-card:last-child {
    border-bottom: none;
}

.mosque-card:hover {
    background: rgba(76, 175, 80, 0.05);
}

.mosque-name {
    font-size: 18px;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 8px;
}

.dark-mode .mosque-name {
    color: #4CAF50;
}

.mosque-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.dark-mode .mosque-address {
    color: #999;
}

.mosque-distance {
    color: #4CAF50;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.mosque-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mosque-action {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mosque-action.directions {
    background: #2196F3;
    color: white;
}

.mosque-action.call {
    background: #4CAF50;
    color: white;
}

.mosque-action.website {
    background: #FF9800;
    color: white;
}

.mosque-action:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Bottom Navigation - NO ROUNDED CORNERS */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 428px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    border-radius: 0;
}

.dark-mode .bottom-nav {
    background: rgba(45, 55, 72, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-items {
    display: flex;
    justify-content: space-around;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    /* FIXED: Prevent transform on active state */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.nav-item.active {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transform: translateY(-2px) translateZ(0);
}

.nav-item:hover:not(.active) {
    color: #4CAF50;
    transform: translateY(-2px) translateZ(0);
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 10px;
    font-weight: 600;
}

/* Loading States */
.loading-container {
    text-align: center;
    padding: 32px 0;
}

.loading-text {
    color: #4CAF50;
    font-style: italic;
    margin-top: 12px;
}

/* Status */
.status-info {
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
    margin-top: 16px;
}

/* Hidden sections */
.hidden {
    display: none;
}

/* FIXED: Stable modal and overlay positioning */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateZ(0);
}

/* Responsive */
@media (max-width: 480px) {
    .main-content {
        padding: 96px 16px 100px;
    }
    
    .mosque-section {
        padding: 165px 16px 100px;
    }
    
    .nav-content {
        padding: 12px 16px;
    }
    
    .logo-icon-large {
        width: 44px;
        height: 44px;
    }
    
    .logo-icon-large i {
        font-size: 22px;
    }
    
    .app-title {
        font-size: 15px;
    }
    
    .dates-section {
        font-size: 11px;
        gap: 3px;
    }
    
    .navigation-grid {
        gap: 8px;
    }

    .action-btn {
        padding: 16px;
        min-height: 100px;
        gap: 10px;
    }

    .icon-container {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .icon-container i {
        font-size: 24px;
    }

    .action-btn span {
        font-size: 14px;
    }
    
    .mosque-map {
        height: 250px;
    }
    
    .map-legend {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===================================
   COLOR UTILITY CLASSES
   =================================== */

/* Icon Colors - For param-icon elements */
.icon-white { color: white; }
.icon-orange { color: #FF9800; }
.icon-blue { color: #2196F3; }
.icon-purple { color: #9C27B0; }
.icon-pink { color: #E91E63; }
.icon-red { color: #F44336; }
.icon-green { color: #4CAF50; }
.icon-deep-purple { color: #673AB7; }
.icon-cyan { color: #00BCD4; }
.icon-indigo { color: #3F51B5; }
.icon-blue-grey { color: #607D8B; }
.icon-teal { color: #009688; }
.icon-brown { color: #795548; }
.icon-deep-orange { color: #FF5722; }
.icon-light-blue { color: #03A9F4; }
.icon-light-green { color: #8BC34A; }
.icon-grey { color: #999; }

/* Border Colors - For prayer-type-card elements */
.border-blue { border-left: 4px solid #2196F3; }
.border-cyan { border-left: 4px solid #00BCD4; }
.border-green { border-left: 4px solid #4CAF50; }
.border-orange { border-left: 4px solid #FF9800; }
.border-purple { border-left: 4px solid #9C27B0; }
.border-pink { border-left: 4px solid #E91E63; }
.border-deep-purple { border-left: 4px solid #673AB7; }
.border-indigo { border-left: 4px solid #3F51B5; }
.border-amber { border-left: 4px solid #FFC107; }