/* Abraar Prayer Times — front-end styles */

.apt-card {
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 10px;
	padding: 16px 18px;
	margin: 12px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	font-size: 15px;
	line-height: 1.5;
	color: #1d2327;
}

.apt-title {
	font-weight: 700;
	font-size: 1.05em;
	margin-bottom: 4px;
}

.apt-date {
	color: #646970;
	font-size: .9em;
	margin-bottom: 10px;
}

.apt-table {
	width: 100%;
	border-collapse: collapse;
}

.apt-table th,
.apt-table td {
	padding: 6px 10px;
	text-align: left;
}

.apt-table tbody th {
	font-weight: 600;
	color: #2c3338;
}

.apt-table tbody td {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.apt-table tbody tr:nth-child(odd) {
	background: #f7f7f9;
}

/* Monthly */
.apt-scroll {
	overflow-x: auto;
}

.apt-month {
	min-width: 560px;
	font-size: .9em;
}

.apt-month thead th {
	background: #2c3338;
	color: #fff;
	text-align: center;
	position: sticky;
	top: 0;
}

.apt-month td {
	text-align: center;
	border-bottom: 1px solid #eee;
}

.apt-month .apt-d {
	font-weight: 700;
}

.apt-month .apt-odd { background: #fafafa; }
.apt-month .apt-even { background: #fff; }
.apt-month .apt-today {
	background: #ffe8cc;
	font-weight: 700;
}

.apt-month-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.apt-month-title {
	font-weight: 700;
	font-size: 1.1em;
}

.apt-btn {
	background: #2271b1;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 7px 14px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
}

.apt-btn:hover { background: #135e96; }

/* Picker */
.apt-picker-card .apt-manual {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: flex-end;
	margin-top: 10px;
}

.apt-picker-card label {
	display: flex;
	flex-direction: column;
	font-size: .85em;
	color: #50575e;
	gap: 3px;
}

.apt-picker-card input {
	padding: 6px 8px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	width: 130px;
}

.apt-picker-status {
	margin-top: 8px;
	font-size: .85em;
	color: #646970;
	min-height: 1em;
}

/* Qibla compass */
.apt-qibla-card {
	text-align: center;
	max-width: 240px;
}

.apt-compass {
	position: relative;
	width: 140px;
	height: 140px;
	margin: 12px auto;
	border: 3px solid #2c3338;
	border-radius: 50%;
}

.apt-compass-n {
	position: absolute;
	top: 4px;
	left: 50%;
	transform: translateX(-50%);
	font-weight: 700;
	font-size: .8em;
	color: #2c3338;
}

.apt-needle {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4px;
	height: 62px;
	background: linear-gradient(to bottom, #d63638 0 50%, #c3c4c7 50% 100%);
	transform-origin: bottom center;
	transform: translate(-50%, -100%) rotate(var(--apt-rot, 0deg));
	border-radius: 2px;
}

.apt-bearing {
	font-weight: 700;
	font-size: 1.05em;
}

.apt-month-city {
	text-align: center;
	margin-bottom: 6px;
}
