/* Prayer Times Plugin - Glass Morphism Style */

/* Container Styles */
.pt-daily-container,
.pt-monthly-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==================== DAILY PRAYER TIMES ==================== */
.pt-daily-container {
    position: relative;
}

/* Glass Header */
.pt-daily-container .pt-header {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 25px 20px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Glass Table */
.pt-daily-container .pt-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

/* Table Cells */
.pt-daily-container .pt-table th,
.pt-daily-container .pt-table td {
    padding: 14px 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 15px;
}

/* Table Headers */
.pt-daily-container .pt-table th {
    background: rgba(0, 0, 0, 0.25);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

/* Table Rows */
.pt-daily-container .pt-table td {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 500;
}

/* Hover Effect */
.pt-daily-container .pt-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* Highlight Next Prayer */
.pt-daily-container .pt-highlight td {
    background: rgba(255, 215, 0, 0.35) !important;
    font-weight: bold;
    position: relative;
}

.pt-daily-container .pt-highlight td:first-child {
    border-left: 3px solid #ffd700;
}

.pt-daily-container .pt-highlight td:last-child {
    border-right: 3px solid #ffd700;
}

/* Header Text Styles */
.pt-daily-container .pt-date {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.pt-daily-container .pt-time {
    font-size: 48px;
    font-weight: 700;
    font-family: monospace;
    margin: 10px 0;
    letter-spacing: 2px;
}

.pt-daily-container .pt-next-prayer {
    font-size: 18px;
    font-weight: 600;
    margin-top: 8px;
}

.pt-daily-container .pt-remaining {
    font-size: 16px;
    font-weight: 500;
    margin-top: 5px;
    opacity: 0.95;
}

/* ==================== MONTHLY PRAYER TIMES ==================== */
.pt-monthly-container {
    overflow-x: auto;
}

/* Monthly Header - Green Color */
.pt-monthly-container .pt-header {
    background: #3D9832ED;
    border-radius: 12px 12px 0 0;
    padding: 20px;
    text-align: center;
    color: white;
}

.pt-monthly-container .pt-date {
    font-size: 20px;
    font-weight: 600;
}

.pt-table-wrapper {
    overflow-x: auto;
    border-radius: 0 0 12px 12px;
}

.pt-monthly-container .pt-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pt-monthly-container .pt-table th,
.pt-monthly-container .pt-table td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    font-size: 13px;
}

/* Monthly Table Headers - Green Color ONLY for heading row */
.pt-monthly-container .pt-table th {
    background: #3D9832ED;
    font-weight: 600;
    color: #ffffff;
}

.pt-monthly-container .pt-table td {
    color: #555;
}

.pt-monthly-container .pt-table tbody tr:hover {
    background-color: #f5f5f5;
}

.pt-monthly-table {
    min-width: 800px;
}

/* ==================== ERROR MESSAGE ==================== */
.pt-error {
    background: rgba(248, 215, 218, 0.95);
    backdrop-filter: blur(10px);
    color: #721c24;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #f5c6cb;
    margin: 20px 0;
    text-align: center;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .pt-daily-container .pt-time {
        font-size: 36px;
    }
    
    .pt-daily-container .pt-date {
        font-size: 16px;
    }
    
    .pt-daily-container .pt-next-prayer,
    .pt-daily-container .pt-remaining {
        font-size: 14px;
    }
    
    .pt-daily-container .pt-table th,
    .pt-daily-container .pt-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .pt-monthly-container .pt-table th,
    .pt-monthly-container .pt-table td {
        padding: 8px 6px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .pt-daily-container .pt-header {
        padding: 20px 15px;
    }
    
    .pt-daily-container .pt-time {
        font-size: 28px;
    }
    
    .pt-daily-container .pt-table th,
    .pt-daily-container .pt-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .pt-monthly-table {
        min-width: 600px;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .pt-daily-container .pt-header {
        background: #f0f0f0;
        color: black;
        border: 1px solid #ccc;
    }
    
    .pt-daily-container .pt-table {
        background: white;
        border: 1px solid #ccc;
    }
    
    .pt-daily-container .pt-table th,
    .pt-daily-container .pt-table td {
        color: black;
        border: 1px solid #ccc;
    }
    
    .pt-daily-container .pt-highlight td {
        background: #f0f0f0 !important;
    }
    
    .pt-monthly-container .pt-header {
        background: #3D9832 !important;
        color: white;
    }
    
    .pt-monthly-container .pt-table th {
        background: #3D9832 !important;
        color: white;
    }
}

/* ==================== DARK MODE SUPPORT ==================== */
@media (prefers-color-scheme: dark) {
    .pt-daily-container .pt-table th {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .pt-daily-container .pt-table td {
        background: rgba(0, 0, 0, 0.2);
    }
}