
.pt-page { max-width: 100%; margin: 0; padding: 15px 10px; margin-top: 0; }
.pt-hero { 
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #3b7cb5 100%); 
    color: #fff; 
    border-radius: 12px; 
    padding: 10px 14px; 
    margin-bottom: 12px; 
    box-shadow: 0 4px 15px rgba(30,58,95,0.15); 
    position: relative;
    overflow: hidden;
}
.pt-hero h1 { margin: 0; font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 6px; font-family: 'Amiri', serif; }
.pt-hero .pt-location-text { font-size: 0.75rem; opacity: 0.85; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.pt-hero .hijri-badge { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 5px; font-size: 0.7rem; font-weight: 600; display: inline-block; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.08); }
.pt-hero .hijri-badge i { margin-right: 3px; color: #38bdf8; }
.pt-hero .gregorian { font-size: 0.65rem; opacity: 0.7; margin-top: 2px; font-weight: 500; }

.pt-location-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 15px; }
.pt-location-bar input { flex: 1; min-width: 150px; padding: 8px 12px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 13px; transition: 0.3s; }
.pt-location-bar input:focus { outline: none; border-color: #3b7cb5; box-shadow: 0 0 0 3px rgba(59, 124, 181, 0.1); }
.pt-location-bar button { padding: 8px 15px; background: #1e3a5f; color: #fff; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; font-size: 0.85rem; }
.pt-location-bar button:hover { background: #1a304e; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,58,95,0.15); }

.pt-grid { 
    display: flex; 
    flex-direction: row; 
    flex-wrap: nowrap; 
    overflow-x: auto; 
    gap: 6px; 
    padding: 6px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: space-between;
}
.pt-grid::-webkit-scrollbar { display: none; }

.pt-card { 
    background: rgba(255,255,255,0.08); 
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 10px; 
    padding: 6px 4px; 
    text-align: center; 
    transition: all 0.2s; 
    flex: 1;
    min-width: 0;
    backdrop-filter: blur(5px);
}
.pt-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-1px); }
.pt-card.next { background: #fff; color: #1e3a5f; border-color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.pt-card.next .pt-name { color: #1e3a5f; opacity: 0.7; }
.pt-card.next .pt-time { color: #1e3a5f; }
.pt-name { font-size: 9px; text-transform: uppercase; letter-spacing: 0.3px; color: rgba(255,255,255,0.8); font-weight: 800; margin-bottom: 2px; }
.pt-time { font-size: 0.85rem; font-weight: 850; color: #fff; line-height: 1.1; }
.pt-next-label { font-size: 9px; text-transform: uppercase; margin-top: 2px; font-weight: 850; padding: 2px 4px; border-radius: 4px; background: #1e3a5f; color: #fff; display: block; font-family: 'Courier New', monospace; }

.pt-method-row { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 20px; padding: 12px; background: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0; }
.pt-method-row .method-group { display: flex; flex-direction: column; gap: 4px; }
.pt-method-row label { font-size: 11px; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.pt-method-row select { padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 13px; color: #1e3a5f; font-weight: 600; outline: none; }
.pt-notify-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pt-notify-inline select { padding: 4px 8px; border-radius: 999px; font-size: 11px; }
.pt-notify-prayers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pt-notify-prayers label { font-size: 10px; color: #4b5563; display: inline-flex; align-items: center; gap: 3px; }

.pt-tracker {
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    font-size: 0.75rem;
}
.pt-tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.pt-tracker-header span:first-child { font-weight: 700; color: #0f172a; }
.pt-tracker-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-tracker-row label { display: inline-flex; align-items: center; gap: 3px; color: #4b5563; }

.pt-section { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 20px; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.pt-section h2 { margin: 0 0 15px 0; font-size: 1.1rem; color: #1e3a5f; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.pt-section h2 i { color: #3b7cb5; background: #f1f5f9; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 0.9rem; }

.pt-table-wrap { overflow-x: auto; margin-top: 15px; border-radius: 10px; border: 1px solid #e2e8f0; }
.pt-table { width: 100%; border-collapse: collapse; min-width: 500px; font-size: 13px; }
.pt-table th { background: #f8fafc; color: #1e3a5f; padding: 10px; text-align: left; font-weight: 700; border-bottom: 2px solid #e2e8f0; }
.pt-table td { padding: 8px 10px; border-bottom: 1px solid #f1f5f9; color: #475569; }
.pt-table tr.today { background: rgba(59, 124, 181, 0.05); font-weight: 700; }
.pt-table tr:hover { background: #fbfcfe; }

.pt-month-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pt-link { display: inline-flex; align-items: center; gap: 8px; color: #3b7cb5; font-weight: 700; text-decoration: none; padding: 8px 12px; background: #f1f5f9; border-radius: 8px; transition: 0.2s; font-size: 0.85rem; }
.pt-link:hover { background: #3b7cb5; color: #fff; }

@media (max-width: 600px) { 
    .pt-hero { padding: 10px 14px; } 
    .pt-hero h1 { font-size: 1rem; } 
    .pt-grid { gap: 5px; }
    .pt-card { padding: 5px; }
    .pt-time { font-size: 0.8rem; }
    .pt-name { font-size: 8px; }
}
