.ascendant-widget {
	max-width: 780px;
	padding: 20px;
	border: 1px solid #d7d7d7;
	border-radius: 14px;
	background: linear-gradient(145deg, #fbfbfb 0%, #f3f7ff 100%);
	position: relative;
}

.ascendant-form {
	margin: 0;
}

.ascendant-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	position: relative;
}

.ascendant-grid label {
	display: grid;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
}

.ascendant-grid input {
	padding: 10px 12px;
	border: 1px solid #c5cfdd;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.3;
	background: #fff;
}

.ascendant-grid input:focus {
	outline: none;
	border-color: #2e6ed8;
	box-shadow: 0 0 0 3px rgba(46, 110, 216, 0.16);
}

.ascendant-field-wide {
	grid-column: 1 / -1;
}

.ascendant-suggestions {
	grid-column: 1 / -1;
	display: grid;
	gap: 8px;
	padding: 10px;
	border: 1px solid #c5cfdd;
	border-radius: 10px;
	background: #fff;
	max-height: 250px;
	overflow: auto;
}

.ascendant-suggestion {
	padding: 9px 10px;
	border: 1px solid #dbe4f1;
	border-radius: 8px;
	background: #f8fbff;
	text-align: left;
	cursor: pointer;
	display: grid;
	gap: 2px;
}

.ascendant-suggestion:hover,
.ascendant-suggestion:focus {
	background: #edf5ff;
	border-color: #b8ceee;
	outline: none;
}

.ascendant-suggestion__label {
	font-size: 14px;
	font-weight: 600;
	color: #1f2a3d;
}

.ascendant-suggestion__meta {
	font-size: 12px;
	color: #51627d;
}

.ascendant-actions {
	margin-top: 16px;
	display: flex;
	justify-content: center;
}

.ascendant-widget .ascendant-actions button[type="submit"] {
	border: 0;
	border-radius: 10px;
	background: #2e6ed8 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	min-height: 44px;
	padding: 11px 16px;
	cursor: pointer;
	transition: background 0.2s ease;
	text-shadow: none;
}

.ascendant-widget .ascendant-actions button[type="submit"]:hover,
.ascendant-widget .ascendant-actions button[type="submit"]:focus {
	background: #2455aa !important;
	color: #fff !important;
	outline: none;
}

.ascendant-widget .ascendant-actions button[type="submit"]:disabled {
	opacity: 0.65;
	cursor: wait;
}

.ascendant-widget [hidden] {
	display: none !important;
}

.ascendant-message {
	margin-top: 14px;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #d9b4b4;
	background: #fff0f0;
	color: #822626;
	font-size: 14px;
}

.ascendant-result {
	margin-top: 16px;
}

.ascendant-result-card {
	padding: 14px 16px;
	border: 1px solid #bfdfbe;
	border-radius: 10px;
	background: #f2fbef;
	color: #273526;
}

.ascendant-result-card h3 {
	margin: 0 0 8px;
	font-size: 22px;
}

.ascendant-result-card p {
	margin: 6px 0;
	font-size: 15px;
}

.ascendant-horoscopes {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #bfdfbe;
}

.ascendant-horoscopes h4 {
	margin: 0 0 8px;
	font-size: 17px;
}

.ascendant-horoscopes ul {
	margin: 0;
	padding-left: 20px;
}

.ascendant-horoscopes li {
	margin: 5px 0;
}

.ascendant-horoscopes a {
	font-weight: 700;
}

@media (max-width: 700px) {
	.ascendant-grid {
		grid-template-columns: 1fr;
	}
}
