
/* Core Styles */
.position-relative {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.search-button {
	padding: 10px 20px;
	font-size: 20px;
	border: none;
	background-color: #007bff;
	color: white;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.3s ease;
}

.search-button:hover {
	background-color: #ff6600;
}

.clear-button {
	position: absolute;
	right: 10px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 18px;
	display: none;
	color: white;
	text-shadow: none;
}

.clear-button:hover {
	color: #BB0016;
}

h2 {
	color: #1F51FF;
	font-weight: bold;
	text-align: center;
}

.form-inline {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

.fa-search {
	color: white;
}

.search-input {
	width: 100%;
	max-width: 800px;
	padding: 5px;
	font-size: 16px;
	transition: all 0.3s ease;
	border-radius: 4px 0 0 4px;
	color: #000;
	box-sizing: border-box;
}

.search-container {
	text-align: center;
	margin-top: 150px;
	position: relative;
}

.card {
	border: 1px solid #dee2e6;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	width: 100%;
}

.bordered-row {
	border-bottom: 1px solid #dee2e6;
	padding-bottom: 8px;
	margin-bottom: 8px;
}

.footer {
	text-align: center;
	font-size: 14px;
	margin-top: 50px;
	color: #666666;
}

.badge {
	font-size: 0.5em;
}

.card-header h4 {
	margin-bottom: 0;
}

.badge.bg-info {
	background-color: #6d44f7 !important;
	font-size: 15px;
}

li .badge.bg-info {
	background-color: #8b69fb !important;
	font-size: 15px;
}

body {
	font-family: var(--font-family-base);
	color: #333333;
	background-color: #f4f6f9;
}

/* Scoped suggestions list styling moved to index.php */

/* Feature Section Styling */
#feature-section {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 24px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.feature-item {
	background-color: #a8a8a8;
	text-align: center;
	flex: 1;
	position: relative;
	overflow: hidden;
	aspect-ratio: 1.125;
	border-radius: 20px;
}

.feature-item > .feature-item-title {
	font-family: var(--font-family-base);
	position: absolute;
	top: 24px;
	left: 32px;
	z-index: 10;
	color: #fff;
	text-align: start;
	text-shadow: 1px -1px 7px rgba(126,126,126,1);
	font-size: 1.6rem;
	font-weight: bold;
}

.feature-item-image-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
	aspect-ratio: 1.125;
}

.feature-item-image-wrapper::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
	pointer-events: none;
	z-index: 1;
}

.feature-item-image-wrapper.no-vignette::after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: none;
	pointer-events: none;
	z-index: 1;
}

.feature-item-image-wrapper img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.feature-item > .feature-button {
	z-index: 10;
	font-family: var(--font-family-base);
	font-size: 1.6rem;
	width: 200px;
	height: 54px;
	border-width: 1px;
	text-decoration: none;
	color: #6d44f7;
	font-weight: bold;
	background: rgba(253, 252, 250, 1);
	position: absolute;
	left: 32px;
	bottom: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-item > .feature-button:hover {
	box-shadow: 0 0 24px 0 rgba(109, 68, 247, 0.4);
}

.feature-button.disabled {
	cursor: not-allowed;
}

.feature-button.disabled:hover {
	box-shadow: none;
	opacity: 0.95;
}

.feature-download {
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	gap: 24px;
	margin-top: 24px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;

	background-color: #EFBCFF;
	flex: 1;
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	width: 69%;
    min-height: 240px;
	aspect-ratio: 5;
}

.feature-download > img {
	display: block;
	width: 240px;
	aspect-ratio: 1.0275049116;
	align-self: end;
}

.feature-download > .feature-download-content {
    margin-left: -64px;
    z-index: 10;
}

.feature-download span {
	display: block;
	font-family: var(--font-family-heading);
	font-size: 1.6rem;
	font-weight: bold;
	max-width: 100%;
	text-align: center;
}

.feature-download .download-buttons-container {
	margin-top: 8px;
	display: flex;
	gap: 8px;
}

.feature-download .download-button {
	height: 48px;
}

.feature-download .download-button:hover {
	border-radius: 4px;
	box-shadow: 0 0 64px -10px rgba(109, 68, 247, 0.4);
}

.feature-header {
	color: #0a40af;
	font-size: 25px;
	margin-bottom: 15px;
	font-weight: 400;
}

.feature-entry {
	color: orange;
	font-weight: bold;
	font-size: 36px;
	margin-bottom: 20px;
}

.btn-feature {
	display: inline-block;
	background-color: #0e388d;
	color: #ffffff;
	padding: 10px 20px;
	font-size: 20px;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.3s ease;
	margin-top: 10px;
}

.btn-feature:hover {
	background-color: yellow;
	transform: scale(1.05);
}

.feature-no-result {
	color: #6c757d;
}

/* Animations */
@keyframes think {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	25% { transform: translateY(-5px) rotate(10deg); }
	75% { transform: translateY(-5px) rotate(-10deg); }
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.avatar {
	font-size: 48px;
	position: absolute;
	right: 10px;
	bottom: 50px;
	animation: float 3s ease-in-out infinite;
}

.avatar .body {
	display: inline-block;
}

.avatar .hand {
	display: inline-block;
	animation: think 2s infinite;
	transform-origin: bottom right;
}

.com-body {
	font-size: 19px;
	line-height: 1.5;
	color: #444;
}

.com-body h3,
.com-body h4 {
	margin: 0;
	padding: 0;
}

.com-body h3 {
	color: #ff8c1a;
	font-size: 20px;
	text-align: center;
	font-weight: bold;
	letter-spacing: 2px;
}

.com-body h4 {
	color: #337ab7;
	font-size: 20px;
	text-align: center;
	font-weight: bold;
}

.com-header {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
}

.thought-bubble {
	position: absolute;
	right: 75px;
	bottom: 70px;
	font-size: 30px;
	animation: float 3s ease-in-out infinite 0.5s;
}

/* Custom Bullet for Pangungusap */
.pangungusap-bullet {
	display: inline-block;
	width: 18px;
	height: 18px;
	background-color: #333;
	border-radius: 50%;
	position: relative;
	margin-right: 10px;
}

.pangungusap-bullet::before {
	content: '\27A4';
	font-size: 12px;
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Responsive Design */

@media (max-width: 768px) {
	.form-inline {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: 100%;
	}

	.search-input {
		width: 100%;
		font-size: 14px;
		padding: 10px;
		border-radius: 4px 0 0 4px;
		border: 2px solid #1F51FF;
	}

	.search-button {
		width: auto;
		font-size: 20px;
		padding: 10px 20px;
		background-color: #007bff;
		color: white;
		border-radius: 0 4px 4px 0;
	}

	h2 {
		font-size: 30px;
		margin-bottom: 20px;
		color: #1F51FF;
		text-align: center;
	}

	#clearSearch {
		right: 10px;
		font-size: 18px;
	}



	#feature-section {
		flex-direction: column;
		margin-left: 20px;
		margin-right: 20px;
	}

	.feature-item {
		width: 100%;
	}

    .feature-download {
        width: 100%;
        max-width: 90%;
        margin-left: 20px;
        margin-right: 20px;
        min-height: 240px;
        aspect-ratio: 5;
    }

    .feature-download > .feature-download-content {
        margin-left: 0;
    }

    .feature-download > img {
        position: absolute;
    }

    .feature-download span {
        font-size: 1rem;
    }

    .feature-download::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
        pointer-events: none;
        z-index: 1;
    }
}

@media (max-width: 576px) {
	.form-inline {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: 100%;
	}

	.search-input {
		width: 100%;
		font-size: 14px;
		padding: 10px;
		border-radius: 4px 0 0 4px;
		border: 2px solid #1F51FF;
	}

	.search-button {
		width: auto;
		font-size: 20px;
		padding: 10px 20px;
		background-color: #007bff;
		color: white;
		border-radius: 0 4px 4px 0;
	}
}



.purple-text {
	color: #6d44f7;
}

a.purple-text:hover {
	color: #cb6ce6;
	text-shadow: 0 0 4px #6d44f722;
}
