/* Islamic Prayer Times Display - Monitor Display Styles */
/* Beautiful Green Theme - Like nature and peace */

:root {
    --primary-green: #059669;
    --secondary-green: #10b981;
    --dark-green: #047857;
    --light-green: #d1fae5;
    --accent-green: #34d399;
    --gradient-start: #059669;
    --gradient-end: #10b981;
    --bg-primary: #f0fdf4;
    --bg-secondary: #ecfdf5;
    --text-primary: #064e3b;
    --text-secondary: #065f46;
    --text-light: #047857;
    --border-color: #a7f3d0;
    --shadow: rgba(5, 150, 105, 0.2);
}

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

body.ipt-fullscreen {
    overflow: hidden;
}

.ipt-monitor-display {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.ipt-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.ipt-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* ==================== HEADER ==================== */
.ipt-header {
    padding: 30px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.ipt-header .ipt-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ipt-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ipt-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px var(--shadow);
}

.ipt-mosque-info {
    text-align: left;
}

.ipt-mosque-name {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ipt-location {
    font-size: 18px;
    opacity: 0.95;
    margin: 5px 0 0;
}

.ipt-header-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.ipt-datetime {
    text-align: right;
}

.ipt-date {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 5px;
}

.ipt-time {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
}

.ipt-hijri {
    font-size: 16px;
    opacity: 0.9;
    font-style: italic;
}

.ipt-weather {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.weather-icon {
    font-size: 32px;
}

.weather-temp {
    font-size: 24px;
    font-weight: 600;
}

/* ==================== MAIN CONTENT ==================== */
.ipt-main-content {
    padding: 40px 0;
    min-height: calc(100vh - 240px);
}

/* Status Banner (Adhan/Prayer) */
.ipt-status-banner {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
    animation: pulseGlow 2s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4);
}

.ipt-status-banner.adhan {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.ipt-status-banner.prayer {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 60px rgba(220, 38, 38, 0.6);
    }
}

.status-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.status-icon {
    font-size: 72px;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

#statusTitle {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
}

#statusSubtitle {
    font-size: 28px;
    opacity: 0.95;
    margin: 0;
}

/* Next Prayer Countdown */
.ipt-next-prayer {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.next-prayer-label {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.next-prayer-name {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.next-prayer-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px 30px;
    min-width: 130px;
}

.countdown-value {
    display: block;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    display: block;
    font-size: 16px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 48px;
    font-weight: 700;
    opacity: 0.7;
}

.next-prayer-time {
    font-size: 32px;
    font-weight: 600;
    opacity: 0.95;
}

/* Prayer Times Grid */
.ipt-prayer-times-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.prayer-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.prayer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.prayer-card.next-prayer {
    background: rgba(255, 255, 255, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.prayer-card.sunrise {
    opacity: 0.8;
}

.prayer-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.prayer-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.prayer-time {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.prayer-iqamah {
    font-size: 14px;
    opacity: 0.85;
    font-style: italic;
}

/* Messages Slider */
.ipt-messages-slider {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    min-height: 150px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.message-slide {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.message-slide.active {
    display: flex;
    animation: fadeInSlide 1s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-icon {
    font-size: 64px;
}

.message-text {
    font-size: 28px;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0;
    font-weight: 500;
}

/* ==================== FOOTER ==================== */
.ipt-footer {
    padding: 25px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-item {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.95;
}

.footer-item strong {
    font-weight: 700;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1600px) {
    .ipt-prayer-times-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .ipt-mosque-name {
        font-size: 24px;
    }
    
    .ipt-time {
        font-size: 32px;
    }
    
    .next-prayer-name {
        font-size: 42px;
    }
    
    .countdown-value {
        font-size: 42px;
    }
    
    .prayer-time {
        font-size: 24px;
    }
    
    .message-text {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .ipt-container {
        padding: 0 20px;
    }
    
    .ipt-header .ipt-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .ipt-prayer-times-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .next-prayer-countdown {
        flex-wrap: wrap;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 3s infinite;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 1000px 100%;
}
