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

body { 
    font-family: arial, sans-serif;
    background-color: #F8FAFC;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.dashboard {
    width: 1000px;
    height: 800px;
    padding: 30px;
    display: grid;
    grid-template-rows: 100px 1fr auto;
    grid-template-columns: 1fr;
    gap: 20px;
    grid-template-areas: 
    "header"
    "main"
    "bottom";
}

.header {
    grid-area: header;
    display: flex;
    background: white;
    border-radius: 12px;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0, 0.05);
    padding: 20px;
    font-weight: 549;
}

.main-container {
    grid-area: main;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bottom {
    grid-area: bottom;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.prayer-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.prayer-name {
    font-size: 18px;
    font-weight: bold;
}

.prayer-time {
    font-size: 24px;
    font-weight: bold;
}

.status {
    font-size: 14px;
    color: #555;
}

.qibla-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.mosque-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;

}

.prayer-card.past {
    opacity: 0.5;
}

.prayer-card.current {
    background-color: #E8F5E9;
    border: 2px solid #4CAF50;
}

.qibla-card h2 {
    font-size: 19px;
    margin-bottom: 10px;
}

.direction {
    font-size: 32px;
    font-weight: bold;
    margin-top: 20px;
}

.qibla-card::before {
    content: "➤";
    color: greenyellow;
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(138deg);
    opacity: 0.35;
}

.mosque-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mosque-card .mosque-name {
    font-size: 20px;
    font-weight: bold;
}

.mosque-address, .mosque-contact, .next-event {
    font-size: 16px;
    color: #333;
}
