body {
    margin: 0;
    font-family: "Noto Naskh Arabic", serif;
    background-color: rgba(5, 22, 39, 1);
    color: #f0f0f0;
}

.container {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 60px;
    height: 60px;
}

.logo h1 {
    font-size: 1.5rem;
    color: #ffc857;
}


.date-section {
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    margin: 20px 0;
}

.date-section img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin: 0 10px;
}

.gregorian-date,
.hijri-date {
    font-size: 1.1rem;
    color: #eee;
    margin: 0 20px;

}

.prayer-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prayer-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.prayer-card {
    background-color: #1a2c3c;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 300px;
    text-align: center;
    border: 1px solid #ffc85733;
}

.prayer-card h2 {
    color: #ffc857;
    margin-bottom: 10px;
}

.prayer-card p {
    font-size: 1rem;
    margin: 6px 0;
}

.main-button {
    background-color: #ffc857;
    color: #0c1c2c;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    margin: 20px auto;
    display: block;
    cursor: pointer;
    transition: 0.3s;
}

.main-button:hover {
    background-color: #e6b44d;
}

footer {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: 30px;
}

.search {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.search form {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.search input {
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    width: 200px;
    font-size: 16px;
    outline: none;
    background-color: #f0f4f8;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.search input:focus {
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(100, 149, 237, 0.5);
}

.search button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition:
        background 0.4s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.search button:hover {
    background: linear-gradient(to right, #00f2fe, #4facfe);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.mo {
    transition: all 1.5s ease;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
        max-width: 90%;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .prayer-table {
        width: 100%;
        max-width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .search form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .date-section {
        flex-direction: column;
        align-items: center;
    }

    .date-section img {
        margin: 10px 0;
    }

}

input::placeholder {
    color: #080808;
    font-weight: bold;
    font-size: 1rem;
    font-family: "Noto Naskh Arabic", serif;
    transform: translateY(0);
}

.active {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 217, 0, 0.3);
    background: #222;
}