body {
	font-family: "Inter", "Roboto", sans-serif;
	background-color: #f8f9ff;
	color: #333;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Inter", sans-serif;
	color: #5e73c2;
	font-weight: 600;
}

a {
	color: #5e73c2;
	text-decoration: none;
}

a:hover {
	color: #888eba;
	text-decoration: underline;
}

/* Navbar */
.navbar {
	background-color: #5e73c2;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
	margin-bottom: 2rem;
}

.navbar .nav-link {
	color: #f8f9ff;
	font-weight: 500;
	font-size: larger;
}

.navbar .nav-link.active {
	color: #e6f4f1;
}

.navbar .navbar-brand {
	color: #ffffff;
	font-size: xx-large;
	font: 800;
	text-decoration: none;
}

/* Buttons */
.btn-primary {
	background-color: #5e73c2;
	border-color: #888eba;
}

.btn-primary:hover {
	background-color: #888eba;
	border-color: #888eba;
}

/* Event Cards */
.image-container {
	position: relative;
	overflow: hidden;
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
}

.card-img-top {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
}

.card {
	border: none;
	border-radius: 1rem;
	background-color: #ffffff;
	box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.card .card-title-2 {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	color: #333;
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.card .card-author {
	color: #2e2d2d;
	font-weight: 500;
	line-height: 1.8;
}

.card .card-text {
	font-family: "Roboto", sans-serif;
	color: #555;
	font-weight: 400;
}

.post-link:hover .card-title-2 {
	color: #5e73c2;
	text-decoration: underline;
}

/* Pagination */
.pagination .page-link {
	font-family: "Inter", sans-serif;
	color: #5e73c2;
	border: none;
	background-color: transparent;
	font-weight: 500;
}

/* Alert msg */
.alert-info {
	background-color: #e6f4f1;
	color: #333;
	border: none;
}

/* Footer */
footer {
	background-color: #f8f9ff;
}

footer .btn-floating {
	border-radius: 50%;
}

footer .text-muted {
	font-size: 1rem;
}

.footer-hr {
	border: none;
	height: 2px;
	width: 60%;
	margin: 2rem auto;
	background-color: #5e73c2;
	border-radius: 10px;
}

/* Event_detail page */
.event-image-container .card-img {
	border-radius: 20px;
	object-fit: cover;
	width: 100%;
	height: auto;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	margin-top: 1rem;
}

.event-info-card {
	background-color: #f8f9ff;
	padding: 1rem;
}

.event-detail-title {
	background: #f8f9fa;
	border-radius: 8px;
	height: 100%;
}

.event-info p {
	font-size: 1rem;
	margin-bottom: 0.5rem;
	color: #333;
}

.event-info i {
	margin-right: 0.5rem;
	color: #5e73c2;
}

.event-description h4 {
	font-weight: 600;
	margin-bottom: 0.8rem;
}

.attendance-section h5 {
	margin-bottom: 1rem;
	font-weight: 600;
}

.attendance-section .btn-success {
	background-color: #5e73c2;
	border-color: #333;
}

#attend-button {
	color: #f8f9fa;
}

.attendance-section .btn-warning {
	background-color: #f3a109;
	border-color: #333;
}

#maybe-button {
	color: #333;
}

.attendance-section .btn-danger {
	background-color: #f50202;
	border-color: #333;
}

#not-attend-button {
	color: #f8f9fa;
}

.confirm-message {
    margin-top: 0.8rem;
	font-weight: 600;
    color: #333;
    list-style-type: none;
}

/* comment */

.comments-header h3 {
	font-weight: 600;
	color: #5e73c2;
	font-size: 1.6rem;
	margin-left: 3.5rem;
}

.comments-hr {
	border: none;
	height: 2px;
	width: 90%;
	margin: 2rem auto;
	background-color: #5e73c2;
	border-radius: 10px;
}

.comments {
	background: #ffffff;
	border: 1px solid #e0e6f1;
	border-radius: 12px;
	margin-left: 3.5rem;
	padding: 1rem 1.2rem;
	margin-bottom: 1.2rem;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
	width: 80%;
}

.comments:hover {
	background-color: #f5f7ff;
}

.comments .font-weight-bold {
	color: #444;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.comments .approval {
	font-size: 0.8rem;
}

.comments button {
	margin-top: 0.5rem;
	margin-right: 0.5rem;
	font-size: 0.9rem;
	padding: 0.3rem 0.7rem;
	border-radius: 6px;
}

.btn-outline-primary {
	color: #5e73c2;
	border-color: #5e73c2;
}

.btn-outline-primary:hover {
	background-color: #5e73c2;
	color: #ffffff;
}

.card-body h3 {
	font-size: 1.5rem;
	font-weight: 600;
	color: #444;
}

#submitButton.btn-signup {
	background-color: #5e73c2;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 0.6rem 1.4rem;
}

#submitButton.btn-signup:hover {
	background-color: #4a5db2;
}

.modal-content {
	border-radius: 6px;
}

.modal-title {
	font-weight: 600;
}

/* Edit buttons */
.event-edit-button {
	background-color: #5e73c2;
	color: #ffffff;
}

.event-edit-button:hover {
	color: #ffffff;
	background-color: #888eba;
	text-decoration: none;
}

.edit-button:hover{
	color: #ffffff;
	text-decoration: none;
}

/* Event create form */
.cancel-button {
	color: #ffffff;
}

.cancel-button:hover {
	color: #f5f7ff;
	text-decoration: none;
}

/* Profile page */
.profile-hr {
	border: none;
	height: 3px;
	width: 90%;
	margin: 2rem auto;
	background-color: #5e73c2;
	border-radius: 10px;
}

.profile-h4 {
	color: #333;
}

/* Hide "Forgot Password" link from login page */
a[href*="password/reset"] {
    display: none;
}

a[href="/accounts/password/reset/"] {
    display: none;
}

#id_password_helptext a[href*="password/reset"] {
    display: none !important;
}