#box7 {
    display: flex;
    align-items: center;
}

#athanScreen {
    z-index: 1000000;
}

.athantitle {
    left: 80px;
    position: fixed;
    font-size: 20px;

}

.athan-wrapper {
    display: flex;
    flex: 1;
    min-width: 0;
}

.athan-top-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.athan-left .t {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.8;
}

.athan-left .s {
    font-size: 13px;
    font-weight: 600;
    margin-top: 3px;
    opacity: 0.6;
}

.athan-countdown {
    flex: 1;
    margin-right: 20px;
    margin-left: auto;
    text-align: right;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.9;
    white-space: nowrap;
}

.athan-prayer-icon {
    position: absolute;
    bottom: 64px;
    right: 10px;
    margin: 0;
    flex-shrink: 0;
}

.athan-prayer-icon .material-symbols-outlined {
    font-size: 28px;
    color: rgb(180, 41, 41);
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
    animation: athanGlow 2.5s ease-in-out infinite, athanFloat 3s ease-in-out infinite;
}

.athan-screen-wrap {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 6px;
    margin-bottom: 40px;
}

.athan-hero {
    width: 100%;
    border-radius: 50px;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 18px;
}

.athan-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.athan-hero-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 8px;
}

.athan-hero-name {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}

.athan-hero-time {
    font-size: 16px;
    opacity: 0.7;
    margin-top: 6px;
}

.athan-hero-icon {
    font-size: 54px;
    color: rgb(180, 41, 41);
    flex-shrink: 0;
}

.athan-hero-countdown {
    width: 100%;
    text-align: center;
    margin-top: 18px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
}

.athan-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.athan-item {
    width: 100%;
    border-radius: 50px;
    padding: 16px 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 14px;
}

.athan-item.active-prayer {
    background-color: rgba(255, 0, 0, 0.4);
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.3);
}

body.light-mode .athan-item.active-prayer {
    background-color: rgba(255, 0, 0, 0.4);
    border-color: rgba(184, 19, 19, 0.6);
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.5);
}

.athan-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.athan-item-icon .material-symbols-outlined {
    font-size: 26px;
    color: inhert;
}

.athan-item-info {
    flex: 1;
    min-width: 0;
}

.athan-item-name {
    font-size: 17px;
    font-weight: 700;
    opacity: 0.95;
}

.athan-item-sub {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.55;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.athan-item-time {
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

@keyframes athanGlow {

    0%,
    100% {
        text-shadow: 0 0 6px rgba(180, 41, 41, 0.4);
        opacity: 0.6;
    }

    50% {
        text-shadow: 0 0 20px rgba(220, 50, 50, 0.9), 0 0 40px rgba(180, 41, 41, 0.5);
        opacity: 1;
    }
}

@keyframes athanFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}


.top-right {
    position: fixed;
    top: 10px;
    right: 16px;
    display: flex;
    gap: 10px;
    z-index: 99999999999;
}

.top-right button {
    height: 55px;
    padding: 0 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.athan-meta {
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 12px;
}

#locationPicker,
#datePicker {
    z-index: 1000000;
}

.athan-current-location {
    font-size: 12px;
    width: auto;
    font-weight: 600;
    opacity: 0.8;
    text-align: center;
}

.athan-future {
    width: 55px;
}

#location-input,
#date-input {
    width: 90%;
    z-index: 100;
    top: 80px;
    position: fixed;
    height: 50px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}


#location-results,
#date-week-list {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    pointer-events: auto;
}

.location-item {
    width: 100%;
    height: 55px;
    border-radius: 50px;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    margin-bottom: 10px;
    transition: transform 0.15s ease, background 0.15s ease;
}

#location-now,
#date-now {
    position: fixed;
    z-index: 1000000;
    top: 10px;
    right: 16px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.holy-cities-wrap {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.holy-city-card {
    flex: 1;
    padding: 24px;
    border-radius: 45px;
}

.holy-city-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.holy-city-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    padding: 7px 0;
    opacity: 0.85;
}