/* Namaz Vakitleri — premium dashboard */

.hk-front .hk-prayer-section {
	background: var(--hk-bg, #f4f6fb);
	padding-bottom: 2.5rem;
}

.hk-front .hk-prayer-section > .container > .row > .col-lg-12 {
	max-width: 1100px;
	margin: 0 auto;
}

/* Legacy style.php reset */
.hk-front #namazvakitleri_Sayfa,
.hk-front #namazvakitleri_Sayfa * {
	box-sizing: border-box;
}

.hk-front #namazvakitleri_Sayfa {
	background: transparent !important;
	margin: 0 !important;
	overflow: visible !important;
	padding: 0 !important;
}

.hk-front #namazvakitleri_Sayfa form#ilce-form {
	all: unset;
	display: block !important;
}

.hk-front #namazvakitleri_Sayfa form#ilce-form .hk-prayer__loc-select {
	appearance: none !important;
	background: transparent !important;
	border: 0 !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	display: block !important;
	float: none !important;
	font-family: var(--hk-font, inherit) !important;
	height: 44px !important;
	line-height: normal !important;
	margin: 0 !important;
	outline: none !important;
	width: 100% !important;
}

.hk-front #namazvakitleri_Sayfa #kalan-sure,
.hk-front #namazvakitleri_Sayfa #kalan-sure::after {
	all: unset;
}

/* style.php table kurallarını geçersiz kıl */
.hk-front #namazvakitleri_Sayfa .hk-prayer__table {
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	display: table !important;
	margin: 0 !important;
	table-layout: fixed !important;
	width: 100% !important;
}

.hk-front #namazvakitleri_Sayfa .hk-prayer__table thead {
	display: table-header-group !important;
}

.hk-front #namazvakitleri_Sayfa .hk-prayer__table tbody {
	display: table-row-group !important;
}

.hk-front #namazvakitleri_Sayfa .hk-prayer__table tr {
	display: table-row !important;
}

.hk-front #namazvakitleri_Sayfa .hk-prayer__table th,
.hk-front #namazvakitleri_Sayfa .hk-prayer__table td {
	display: table-cell !important;
	float: none !important;
	position: static !important;
	text-align: center !important;
	vertical-align: middle !important;
	width: auto !important;
}

.hk-front #namazvakitleri_Sayfa .hk-prayer__table td::before {
	content: none !important;
	display: none !important;
}

.hk-front .hk-prayer {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.hk-front .hk-prayer__alert {
	border-radius: var(--hk-radius-sm, 12px);
	margin: 0 !important;
}

/* Main shell */
.hk-front .hk-prayer__shell {
	background: var(--hk-surface, #fff);
	border: 1px solid var(--hk-border, #e2e8f0);
	border-radius: 24px;
	box-shadow: var(--hk-shadow, 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06));
	overflow: hidden;
}

/* Banner */
.hk-front .hk-prayer__banner {
	color: #fff;
	position: relative;
}

.hk-front .hk-prayer__banner-bg {
	background:
		radial-gradient(circle at 85% 15%, rgba(255, 215, 120, 0.35), transparent 38%),
		radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.12), transparent 42%),
		linear-gradient(145deg, #1a6b52 0%, #22856a 38%, #2fa882 100%);
	inset: 0;
	position: absolute;
}

.hk-front .hk-prayer__banner-bg::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M0 40h80M40 0v80M0 0l80 80M80 0L0 80'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 80px 80px;
	content: "";
	inset: 0;
	opacity: 0.7;
	position: absolute;
}

.hk-front .hk-prayer--night .hk-prayer__banner-bg {
	background:
		radial-gradient(circle at 78% 12%, rgba(255, 215, 120, 0.18), transparent 34%),
		radial-gradient(circle at 12% 78%, rgba(147, 197, 253, 0.1), transparent 40%),
		linear-gradient(145deg, #0b1628 0%, #132743 45%, #1a3558 100%);
}

.hk-front .hk-prayer__banner-inner {
	padding: 1.35rem 1.5rem 1.5rem;
	position: relative;
	z-index: 1;
}

.hk-front .hk-prayer__toolbar {
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: space-between;
	margin-bottom: 1.35rem;
	padding: 0.65rem 0.75rem 0.65rem 0.85rem;
}

.hk-front .hk-prayer__loc {
	display: grid !important;
	flex: 1 1 320px;
	gap: 0.85rem;
	grid-template-columns: minmax(0, 1fr) auto;
	min-width: 0;
}

.hk-front .hk-prayer__loc-head {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	min-width: 0;
}

.hk-front .hk-prayer__loc-icon {
	align-items: center;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.95rem;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.hk-front .hk-prayer__loc-copy {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.hk-front .hk-prayer__loc-title {
	color: #fff;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.hk-front .hk-prayer__loc-hint {
	color: rgba(255, 255, 255, 0.62);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
}

.hk-front .hk-prayer__loc-picks {
	display: grid;
	flex: 0 0 auto;
	gap: 0.55rem;
	grid-template-columns: repeat(2, minmax(128px, 168px));
}

.hk-front .hk-prayer__pick {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin: 0;
}

.hk-front .hk-prayer__pick-label {
	color: rgba(255, 255, 255, 0.68);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hk-front .hk-prayer__pick-control {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
	color: #0f172a;
	color-scheme: light;
	display: flex;
	min-height: 46px;
	padding: 0 0.85rem 0 0.95rem;
	position: relative;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hk-front .hk-prayer__pick:hover .hk-prayer__pick-control,
.hk-front .hk-prayer__pick:focus-within .hk-prayer__pick-control {
	border-color: #fff;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
	transform: translateY(-1px);
}

.hk-front .hk-prayer__loc-select {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	cursor: pointer;
	display: block !important;
	flex: 1 1 auto;
	font-family: var(--hk-font, inherit);
	font-size: 0.92rem;
	font-weight: 800;
	height: 44px !important;
	line-height: 44px !important;
	margin: 0 !important;
	min-width: 0;
	padding: 0 1.5rem 0 0;
	width: 100% !important;
}

.hk-front .hk-prayer__loc-select:focus {
	outline: none;
}

.hk-front .hk-prayer__pick-arrow {
	color: #64748b;
	flex: 0 0 auto;
	font-size: 0.72rem;
	pointer-events: none;
	position: absolute;
	right: 0.85rem;
	top: 50%;
	transform: translateY(-50%);
	transition: color 0.18s ease, transform 0.18s ease;
}

.hk-front .hk-prayer__pick:hover .hk-prayer__pick-arrow,
.hk-front .hk-prayer__pick:focus-within .hk-prayer__pick-arrow {
	color: #0f766e;
	transform: translateY(-50%) rotate(180deg);
}

.hk-front .hk-prayer__loc-select option {
	background: #fff;
	color: #0f172a;
}

.hk-front .hk-prayer__live {
	align-items: center;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 0.65rem;
	padding: 0.5rem 0.85rem 0.5rem 0.7rem;
}

.hk-front .hk-prayer__live-dot {
	animation: hk-prayer-pulse 1.8s ease-in-out infinite;
	background: #4ade80;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
	flex: 0 0 auto;
	height: 8px;
	margin-top: 2px;
	width: 8px;
}

@keyframes hk-prayer-pulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
	}

	50% {
		box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
	}
}

.hk-front .hk-prayer__live-body {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.hk-front .hk-prayer__live-time {
	color: #fff;
	font-size: clamp(1.25rem, 2.5vw, 1.55rem);
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	line-height: 1;
}

.hk-front .hk-prayer__live-label {
	color: rgba(255, 255, 255, 0.62);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hk-front .hk-prayer__banner-main {
	align-items: center;
	display: grid;
	gap: 1.25rem 2rem;
	grid-template-columns: 1fr auto;
}

.hk-front .hk-prayer__eyebrow {
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
}

.hk-front .hk-prayer__title {
	color: #fff;
	font-size: clamp(1.65rem, 3.5vw, 2.35rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0 0 0.55rem;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.hk-front .hk-prayer__dates {
	align-items: center;
	color: rgba(255, 255, 255, 0.82);
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	font-weight: 500;
	gap: 0.55rem;
}

.hk-front .hk-prayer__dates-sep {
	background: rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	height: 4px;
	width: 4px;
}

.hk-front .hk-prayer__countdown {
	background: rgba(0, 0, 0, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	display: block !important;
	float: none !important;
	padding: 1rem 1.15rem !important;
	text-align: center !important;
	width: auto !important;
}

.hk-front .hk-prayer__countdown-label {
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 0.65rem;
}

.hk-front .hk-prayer__countdown-digits {
	align-items: center;
	display: inline-flex;
	gap: 0.35rem;
}

.hk-front .hk-prayer__digit {
	min-width: 58px;
	text-align: center;
}

.hk-front .hk-prayer__digit strong {
	color: #fff;
	display: block;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	line-height: 1;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hk-front .hk-prayer__digit small {
	color: rgba(255, 255, 255, 0.55);
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-top: 0.2rem;
	text-transform: uppercase;
}

.hk-front .hk-prayer__digit-sep {
	color: rgba(255, 255, 255, 0.35);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 1rem;
}

.hk-front .hk-prayer__banner-foot {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: space-between;
	margin-top: 1.25rem;
	padding-top: 1rem;
}

.hk-front .hk-prayer__moon {
	align-items: center;
	display: flex;
	gap: 0.55rem;
}

.hk-front .hk-prayer__moon img {
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
	height: 48px;
	object-fit: contain;
	width: 48px;
}

.hk-front .hk-prayer__moon span {
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	font-weight: 600;
}

.hk-front .hk-prayer__chips {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: flex-end;
}

.hk-front .hk-prayer__chip {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	padding: 0.35rem 0.75rem;
	white-space: nowrap;
}

.hk-front .hk-prayer__chip span {
	color: rgba(255, 255, 255, 0.62);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-right: 0.35rem;
	text-transform: uppercase;
}

.hk-front .hk-prayer__chip strong {
	color: #fff;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
}

/* Prayer grid */
.hk-front .hk-prayer__grid {
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	padding: 1.1rem 1.25rem 1.25rem;
}

.hk-front .hk-prayer__card {
	align-items: center;
	background: #fff;
	border: 1px solid var(--hk-border, #e2e8f0);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	display: flex !important;
	flex-direction: column;
	float: none !important;
	gap: 0.4rem;
	height: auto !important;
	justify-content: center;
	min-height: 132px;
	overflow: visible !important;
	padding: 1rem 0.65rem 0.9rem !important;
	position: relative;
	text-align: center !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	width: auto !important;
}

.hk-front .hk-prayer__card:hover {
	background: #f8fafc;
}

.hk-front .hk-prayer__card.active-tpt-cell {
	background: linear-gradient(165deg, #fff7ed 0%, #fff 100%);
	border-color: #f59e0b;
	box-shadow: 0 10px 28px rgba(245, 158, 11, 0.18);
	transform: translateY(-3px);
	z-index: 1;
}

.hk-front .hk-prayer__card-icon {
	align-items: center;
	background: #f1f5f9;
	border-radius: 14px;
	color: #475569;
	display: inline-flex;
	font-size: 1rem;
	height: 44px;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
	width: 44px;
}

.hk-front .hk-prayer__card.active-tpt-cell .hk-prayer__card-icon {
	background: linear-gradient(145deg, #d97706 0%, #f59e0b 100%);
	box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
	color: #fff;
	transform: scale(1.06);
}

.hk-front .hk-prayer__card-name {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hk-front .hk-prayer__card.active-tpt-cell .hk-prayer__card-name {
	color: #b45309;
}

.hk-front .hk-prayer__card-time {
	color: #0f172a;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	line-height: 1;
}

.hk-front .hk-prayer__card.active-tpt-cell .hk-prayer__card-time {
	color: #92400e;
}

.hk-front .hk-prayer__card-badge {
	background: #d97706;
	border-radius: 999px;
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	left: 50%;
	letter-spacing: 0.05em;
	opacity: 0;
	padding: 0.2rem 0.5rem;
	position: absolute;
	text-transform: uppercase;
	top: 0.55rem;
	transform: translateX(-50%) translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.hk-front .hk-prayer__card.active-tpt-cell .hk-prayer__card-badge {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Schedule panel */
.hk-front .hk-prayer__panel {
	background: var(--hk-surface, #fff);
	border: 1px solid var(--hk-border, #e2e8f0);
	border-radius: 24px;
	box-shadow: var(--hk-shadow, 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06));
	overflow: hidden;
}

.hk-front .hk-prayer__panel-head {
	align-items: center;
	border-bottom: 1px solid var(--hk-border, #e2e8f0);
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: space-between;
	padding: 1.1rem 1.35rem;
}

.hk-front .hk-prayer__panel-head h2 {
	color: var(--hk-text, #0f172a);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
}

.hk-front .hk-prayer__tabs {
	background: var(--hk-bg, #f4f6fb);
	border-radius: 999px;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.2rem;
	padding: 0.28rem;
}

.hk-front .hk-prayer__tab {
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--hk-muted, #64748b);
	cursor: pointer;
	font-family: var(--hk-font, inherit);
	font-size: 13px;
	font-weight: 700;
	outline: none;
	padding: 0.52rem 0.95rem;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.hk-front .hk-prayer__tab:focus-visible {
	box-shadow: 0 0 0 2px rgba(26, 107, 82, 0.35);
}

.hk-front .hk-prayer__tab.is-active {
	background: linear-gradient(145deg, #1a6b52 0%, #22856a 100%);
	box-shadow: 0 4px 14px rgba(26, 107, 82, 0.28);
	color: #fff;
}

.hk-front .hk-prayer__schedule-panel {
	display: none;
	padding: 0 1.35rem 1.35rem;
}

.hk-front .hk-prayer__schedule-panel.is-active {
	display: block;
}

.hk-front .hk-prayer__schedule-title {
	color: var(--hk-muted, #64748b);
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 0.85rem;
}

.hk-front .hk-prayer__table-wrap {
	background: #fff;
	border: 1px solid var(--hk-border, #e2e8f0);
	border-radius: 16px;
	max-height: 480px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.hk-front .hk-prayer__table {
	min-width: 820px;
}

.hk-front .hk-prayer__table thead th {
	background: #f1f5f9;
	border-bottom: 2px solid var(--hk-border, #e2e8f0);
	color: #475569;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 0.9rem 0.5rem !important;
	position: sticky;
	text-transform: uppercase;
	top: 0;
	white-space: nowrap;
	z-index: 2;
}

.hk-front .hk-prayer__table thead th:nth-child(1),
.hk-front .hk-prayer__table thead th:nth-child(2) {
	text-align: left !important;
	width: 14%;
}

.hk-front .hk-prayer__table tbody td {
	border-bottom: 1px solid #eef2f7 !important;
	color: var(--hk-text, #0f172a);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	font-weight: 500;
	padding: 0.78rem 0.5rem !important;
}

.hk-front .hk-prayer__table tbody td:nth-child(1),
.hk-front .hk-prayer__table tbody td:nth-child(2) {
	color: #475569;
	font-weight: 600;
	text-align: left !important;
}

.hk-front .hk-prayer__table tbody td:nth-child(n + 3) {
	font-weight: 700;
}

.hk-front .hk-prayer__table tbody tr:nth-child(even) td {
	background: #fafbfc;
}

.hk-front .hk-prayer__table tbody tr:hover td {
	background: #f0fdf4;
}

.hk-front .hk-prayer__table tbody tr.is-today td {
	background: #ecfdf5 !important;
}

.hk-front .hk-prayer__table tbody tr.is-today td:first-child {
	box-shadow: inset 3px 0 0 #16a34a;
	color: #166534;
	font-weight: 800;
}

@media (max-width: 991px) {
	.hk-front .hk-prayer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hk-front .hk-prayer__banner-main {
		grid-template-columns: 1fr;
	}

	.hk-front .hk-prayer__countdown {
		width: 100% !important;
	}
}

@media (max-width: 767px) {
	.hk-front .hk-prayer__banner-inner {
		padding: 1.1rem;
	}

	.hk-front .hk-prayer__toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.hk-front .hk-prayer__loc {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.hk-front .hk-prayer__loc-picks {
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.hk-front .hk-prayer__live {
		justify-content: center;
		width: 100%;
	}

	.hk-front .hk-prayer__chips {
		justify-content: flex-start;
	}

	.hk-front .hk-prayer__panel-head--tabs {
		align-items: stretch;
		flex-direction: column;
	}

	.hk-front .hk-prayer__tabs {
		width: 100%;
	}

	.hk-front .hk-prayer__tab {
		flex: 1 1 0;
		font-size: 11px;
		padding-inline: 0.5rem;
		text-align: center;
	}
}

@media (max-width: 575px) {
	.hk-front .hk-prayer__loc-picks {
		grid-template-columns: 1fr;
	}

	.hk-front .hk-prayer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
