:root {
  --primary: #122562;
  --secondary: #5D95E8;
}

* {
  box-sizing: border-box;
}

html {
  position: relative;
  font-size: 14px;

  @media (min-width: 768px) {
      font-size: 16px;
  }
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  padding: 0;
  background-color: #EAEFFA;
  color: #000;
  font-family: "Bricolage Grotesque", sans-serif;
  scroll-behavior: smooth;
}

body.nav-active {
	overflow: hidden;
}

body.nav-active .menu,
body.nav-active .menu-holder {
	left: 0;
}

body.nav-active .nav-opener span {
	opacity: 0;
}

body.nav-active .nav-opener::after {
	top: 50%;
	transform: rotate(45deg);
}

body.nav-active .nav-opener::before {
	top: 50%;
	transform: rotate(-45deg);
}

#app {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex: 1;
  padding: 60px 0;
}

.container {
  max-width: 1166px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}

.container-sm {
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 10px;
  color: #000;
  font-weight: 700;
}

p {
  margin: 0 0 10px;
}

strong {
  color: #000;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  text-decoration: none;
}

.btn {
  color: #fff;
  background: var(--primary);
  padding: 9px 18px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  transition: background 0.3s ease, color 0.3s ease;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}

.btn.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.space-bottom {
  margin-bottom: 40px;
}

.alert-danger {
  background-color: #F8D7DA;
  color: #842029;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.alert-info {
  background-color: #D1E7FF;
  color: #084298;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.logo img {
  @media (min-width: 1024px) {
    width: 50px;
  }
}

header {
  padding: 20px 0;
  background: var(--primary);
  min-height: 78px;
}

header .container {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;

  @media (min-width: 768px) {
   gap: 50px;
  }
}

header nav {
  display: flex;
  align-items: center;
  gap: 25px;

  @media (min-width: 768px) {
    flex-direction: row-reverse;
    gap: 15px;
  }
}

header a {
  color: #fff;
}

input,
textarea,
select {
  background-color: #fff !important;
  border-radius: 6px;
  border: 1px solid #E5E5E5 !important;
  padding: 10px;
  width: 100%;
  color: #000 !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23122562' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 36px;
}

label {
  display: block;
  margin-bottom: 20px;
}

h1 {
  font-size: 30px;
  text-align: center;

  @media (min-width: 768px) {
    font-size: 50px;
  }
}

h2 {
  font-size: 30px;
  margin-bottom: 30px;
}

footer {
  padding: 20px 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

footer h2 {
  color: #fff;
}

footer form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 40px;
}

footer form input {
  margin: 0;
}

footer form .btn {
  background: #DC143C;
  border: 1px solid #E5E5E5
}

.img-holder {
  overflow: hidden;
  border-radius: 6px;
  font-size: 0;
  position: relative;
}

.img-holder img:not(.placeholder-img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards-list {
  display: grid;
  gap: 20px;

  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.card {
  color: #000;
}

.card:hover img {
  transform: scale(1.05);
}

.card .img-holder {
  height: 230px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: rgba(18, 37, 98, .1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card img {
  transition: transform 0.3s ease;
}

.card img:not(.placeholder-img) {
  width: 100%;
  height: 100%;
}

.card .placeholder-img {
  opacity: 0.5;
}

.card h2 {
  margin-bottom: 10px;
}

.article-list {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;

  @media (min-width: 600px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-row {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(18, 37, 98, 0.07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.article-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(18, 37, 98, 0.13);
}

.article-thumb {
  width: 100%;
  height: 210px;
  flex-shrink: 0;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.article-row:hover .article-thumb img {
  transform: scale(1.04);
}

.article-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 37, 98, .08) 0%, rgba(93, 149, 232, .15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-placeholder img {
  width: 44px;
  height: auto;
  opacity: .3;
}

.article-text {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-text h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.article-text p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  flex: 1;
}

.page-title {
  margin-bottom: 43px;
  text-align: center;
}

.content-section .page-meta {
  margin-top: -20px;
  margin-bottom: 30px;
  color: #888;
  font-size: 0.9rem;
  text-align: center;
}

.content-section .img-holder {
  margin-bottom: 40px;
  position: relative;
}

.content-section .img-holder img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.content-section .youtube-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .3s background;
  cursor: pointer;
}

.content-section .youtube-link:hover {
  background: rgba(0, 0, 0, 0.3);
}

.content-section .youtube-link img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: auto;
}

.event-body {
  margin-bottom: 40px;
}

.event-body img {
  max-width: 500px;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.content-section a:not([class]) {
  color: var(--primary);
}

.event-registration {
  list-style: none;
  counter-reset: li;
  padding: 0;
  margin: 0;
}

.event-registration li {
  counter-increment: li;
}

.event-registration h2::before {
  content: counter(li) ". ";
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

table thead th {
  background: #DFE2E9;
  border-bottom: 1px solid #eee;
}

table thead th:first-child {
  border-top-left-radius: 6px;
}

table thead th:last-child {
  border-top-right-radius: 6px;
}

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

table th,
table td {
  border-right: 1px solid #eee;
}

table th:last-child,
table td:last-child {
  border-right: none;
}

table tbody tr:nth-child(even) {
  background: #F8FAFF;
}

table tbody tr:nth-child(odd) {
  background: #fff;
}

.col-sm {
  width: 50px;
}

.col-md {
  width: 200px;
}

.details-table {
  max-width: 600px;
}

.event-registration form {
  max-width: 600px;
  width: 100%;
  margin-bottom: 40px;
}

.custom-list {
  padding: 0;
  margin: 0 0 40px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-methods .fake-label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-methods .fake-label img {
  width: 40px;
  height: 40px;
}

.alert-msg {
  padding: 15px;
  border-radius: 6px;
  background-color: #f1c40f;
  color: #34495e;
  margin-bottom: 10px;
}

.alert-error {
  padding: 24px 28px;
  border-radius: 8px;
  background-color: #c0392b;
  color: #fff;
  margin-bottom: 20px;
  border-left: 6px solid #922b21;
}

.alert-error strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.alert-error p {
  font-size: 1.05rem;
  margin: 0;
  opacity: 0.92;
}

.modal.show .modal-backdrop {
	opacity: 1;
	visibility: visible;
}

.modal.show .modal-content {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%);
}

.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1040;
	background-color: rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	transition: .3s opacity, .3s visibility;
}

.modal-content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 1050;
	width: 100%;
	max-width: 1160px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
  overflow-y: auto;
	overflow-x: hidden;
	opacity: 0;
	visibility: hidden;
	transition: .3s transform, .3s visibility, .3s opacity;
  max-height: calc(100% - 60px);
}

.video-modal .video-holder {
	position: relative;
	padding-top: 50%;
  margin: 0;
}

.img-modal .modal-content {
  max-width: 1200px;
}

.img-modal .modal-content {
  font-size: 0;
}

.video-modal .video-holder iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.event-spots {
  font-size: 0.95em;
  color: #888;
  margin: -10px 0 16px;
  text-align: center;
}

.notif-badge {
  font-size: 14px;
  color: #DC143C;
  background: #F8D7DA;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
  font-weight: 700;
  margin-bottom: 10px;
}

.notif-badge.paid {
  color: #155724;
  background: #D4EDDA;
}

.img-holder .notif-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}

.register-form {
  max-width: 600px;
  margin-bottom: 30px;
}

.register-form.col-2 {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-direction: column;
  max-width: 800px;
  margin: 0 0 50px;

  @media (min-width: 768px) {
    flex-direction: row;
    align-items: flex-end;
  }
}

.register-form.col-2 label {
  width: 100%;
  margin: 0;
}

.register-form.col-2 input {
  margin: 0;
}

.register-form.col-2 button {
  min-width: 100px;
  padding: 10px 18px;
  width: 100%;

  @media (min-width: 768px) {
    width: auto;
  }
}

.register-form.edit-mode input {
  border-color: var(--primary) !important
}

.register-form.view-mode .save-btn {
  display: none;
}

.register-form.edit-mode .edit-btn {
  display: none;
}

.lang-dropdown {
	position: relative;
}

.lang-dropdown.active .lang-menu {
	height: auto;
	opacity: 1;
	visibility: visible;
}

.lang-dropdown .dropdown-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
  cursor: pointer;
}

.lang-dropdown .dropdown-toggle i {
	font-size: 6px;
}

.lang-dropdown .lang-menu {
	padding: 10px 0;
	margin: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	display: flex;
	flex-direction: column;
	gap: 15px;
	text-align: center;
	height: auto;
	position: absolute;
	top: calc(100% + 5px);
	right: 0;
	width: 160px;
	background-color: #fff;
	box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
	border-radius: 7px;
	padding: 15px;
	max-height: 300px;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 2;
	transition: .3s opacity, .3s visibility;

	@media (min-width: 768px) {
		text-align: left;
		height: auto;
		position: absolute;
		top: calc(100% + 5px);
		left: 0;
		width: 160px;
		background-color: #fff;
		box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
		border-radius: 7px;
		padding: 15px;
		max-height: 300px;
		overflow-y: auto;
		overflow-x: hidden;
		z-index: 2;
		transition: .3s opacity, .3s visibility;
	}
}

.lang-dropdown .lang-menu a {
  color: #000;
}

.lang-dropdown .lang-menu a:hover {
  color: var(--primary);
}

.translation-note {
  margin-bottom: 40px;
  text-align: center;
}

.translation-note a:not([class]) {
  color: #DC143C;
}

.translation-note p {
  margin: 0;
}

.newsletter-form {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.social-list {
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;

  @media (min-width: 768px) {
    gap: 60px;
  }
}

.social-list a img {
  transition: transform .3s;
}

.social-list a:hover img {
  transform: scale(1.1);
}

footer .container {
  max-width: 556px;
}

footer p {
  margin: 0 0 40px;
}

.copyright p {
  margin: 0;
}

.copyright a {
  color: inherit;
}

.category-box {
  background-color: #fff;
  border-radius: 16px;
  padding: 20px 25px;
  margin-bottom: 20px;
}

.category-box:not(.opened) .category-item {
  display: none;
}

.category-box:not(.opened) .category-header img {
  transform: rotate(0deg);
}

.category-box .category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--secondary);
}

.category-box .category-header h2 {
  color: inherit;
}

.category-box .category-header img {
  transition: transform .3s;
  transform: rotate(180deg);
}

.c-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.c-page-title h2 {
  margin: 0;
}

.c-page-title .icon-holder {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 8px;
}

.category-box .category-header h2 {
  margin: 0;
}

.category-box .category-item:not(:last-child) {
  margin-bottom: 10px;
}

.category-box .category-item {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.category-box .category-item .icon-holder {
  width: 32px;
  height: 32px;
  background-color: var(--secondary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-box .category-item h3,
.category-box .category-item p {
  margin: 0;
}

.new-post-btn {
  width: 100%;
  margin-bottom: 20px;
}

.post-body {
  margin-bottom: 20px;
}

.post {
  border-radius: 16px;
  background-color: #fff;
  padding: 20px 25px;
  display: block;
  margin-bottom: 20px;
  line-height: 1.43;
}

.post h1 {
  text-align: left;
  font-size: 30px;
}

.category {
  color: var(--secondary);
}

.post h2 {
  margin-bottom: 10px;
}

.post .datetime {
  font-size: 14px;
  color: #4f4f4f;
  margin-bottom: 15px;
}

.post .subtext {
  padding: 20px 0 0;
  font-size: 14px;
}

.post .subtext p {
  margin: 0;
}

.post .subtext a {
  color: var(--primary);
}

.post-list .post .post-body {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post .comments {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post .post-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pagination {
	padding: 20px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;

	@media (min-width: 480px) {
		flex-wrap: nowrap;
	}
}

.pagination .btn {
	border-color: #C1C1C1;
	background-color: #F7F7F7;
	color: #000;
	transition: .3s background-color, .3s color;
}

.pagination .btn:hover {
	background-color: var(--secondary);
	color: #fff;
}

.pagination .btn.disabled {
	pointer-events: none;
	opacity: .5;
}

.pagination span {
	width: 100%;
    text-align: center;

	@media (min-width: 480px) {
		width: auto;
	}
}

.signup-form {
  max-width: 450px;
  margin: 0 auto;
}

.signup-form .btn {
  width: 100%;
  margin-bottom: 20px;
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author .img-holder {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: rgb(210, 210, 210);
}

.author .name i {
  font-weight: 400;
}

.author .text-holder {
  display: flex;
  flex-direction: column;
}

.comment-form {
  margin-bottom: 20px;
}

.comment-block {
  margin-bottom: 20px;
}

.comment-block .author {
  margin-bottom: 15px;
}

.comment-block .comment-body {
  background-color: #fff;
  border-radius: 20px;
  padding: 10px 15px;
}

.comment-block .comment-body p:last-of-type {
  margin: 0;
}

.comment-body ol {
  padding-left: 0.5rem;
}

.comment-body li[data-list="bullet"] {
  list-style-type: disc;
  margin-left: 1.5em;
  display: list-item;
}

.comment-body li[data-list="ordered"] {
  list-style-type: decimal;
  margin-left: 1.5em;
  display: list-item;
}

.comment-body li > .ql-ui {
  display: none;
}

#editor {
  margin-bottom: 20px;
}

.fake-label.w-space {
  margin-bottom: 8px;
  display: inline-block;
  vertical-align: middle;
}

.notif-block {
  background-color: #fff;
  border-radius: 16px;
  padding: 20px 25px;
}

.notif-block h1 {
  text-align: left;
  font-size: 22px;
}

.notif-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.notif-list li.read .icon-holder {
  background-color: #d1d1d1;
}

.notif-list li p {
  margin: 0;
}

.notif-list .icon-holder {
  width: 32px;
  height: 32px;
  background-color: var(--secondary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-list form button {
  background-color: transparent;
  padding: 0;
  border: none;
  color: #000;
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.notif-link {
  font-size: 0;
}

.text-center {
  text-align: center;
}

.nav-opener {
	width: 30px;
	height: 20px;
	position: relative;
	display: block;
	font-size: 0;
	z-index: 20;

	@media (min-width: 768px) {
		display: none;
	}
}

.nav-opener::after,
.nav-opener::before,
.nav-opener span {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #fff;
	transition: .3s opacity, .3s transform, .3s top;
}

.nav-opener::before {
	top: 0;
}

.nav-opener::after {
	top: 100%;
}

.menu {
	display: flex;
	align-items: center;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;

  @media (max-width: 767px) {
		position: fixed;
		z-index: 10;
		top: 78px;
		bottom: 0;
		left: 100%;
		width: 100%;
		background-color: var(--primary);
		padding: 20px 30px;
		transition: .3s left;
		flex-direction: column;
		justify-content: flex-start;
	}
}

.menu-opener {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  overflow: hidden;
}

.profile-block {
  border-radius: 16px;
  background-color: #fff;
  padding: 20px 25px;
  margin: 0 auto 20px;
  max-width: 600px;
}

.profile-block h1 {
  font-size: 22px;
  text-align: left;
}

.hide-desktop {
  @media (min-width: 768px) {
    display: none;
  }
}

.profile-form {
  max-width: 600px;
  margin: 0 auto;
}

.profile-form .btn {
  width: 100%;
}

.ql-toolbar {
  background-color: #fff !important;
  border-radius: 6px 6px 0 0;
  border: 1px solid #E5E5E5 !important;
  padding: 10px;
  width: 100%;
  color: #000 !important;
}

.ql-container {
  background-color: #fff !important;
  border-radius: 0 0 6px 6px;
  border: 1px solid #E5E5E5 !important;
  padding: 10px;
  width: 100%;
  color: #000 !important;
}

.ql-editor {
  min-height: 200px;
}

form .form-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-style: italic;
  color: #4f4f4f;
}

.payment-links {
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.payment-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.payment-links li::before {
  content: '-'
}

.payment-list {
  padding: 0;
  margin: 0 0 40px;
  list-style: none;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;

  @media (min-width: 480px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 1024px) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.payment-list li a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 10px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0px 4px 4px 0px #00000026;
}

.payment-list .icon-holder {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-list img {
  width: 40px;
}

.payment .payment-link {
  display: flex;
  align-items: center;
  gap: 15px;
}

.desc-holder {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
}

.fake-file-input {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.fake-file-input input {
  opacity: 0;
  position: absolute;
  margin: 0;
}

.upload-holder {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.upload-holder button {
  margin: 0;
}

.participant-table {
  margin-bottom: 15px;
}

.total-price {
  display: block;
  margin-bottom: 15px;
}

.participant-table .delete-btn {
  position: relative;
  margin: 0;
  color: red;
}

.participant-table .delete-btn input {
  opacity: 0;
  position: absolute;
  margin: 0;
}

.form-preview {
  margin-bottom: 30px;
}

.form-preview .edit-btn {
  margin-left: 20px;
  color: var(--primary);
  font-weight: 700;
}

.form-error {
  background-color: #F8D7DA;
  color: #842029;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.form-error p {
  margin: 0;
}

.mini-events {
  background: #fff;
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 30px;
}

.mini-events h2 {
  margin-bottom: 12px;
  font-size: 18px;
}

.mini-events-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.mini-events-list--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;

  @media (min-width: 600px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 900px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mini-event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: #F8FAFF;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.mini-event-item:hover {
  background: #EAEFFA;
}

.mini-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 38px;
  padding: 5px;
  background: var(--primary);
  border-radius: 4px;
  color: #fff;
  line-height: 1;
}

.mini-event-date .day {
  font-size: 16px;
  font-weight: 700;
}

.mini-event-date .month {
  font-size: 9px;
  text-transform: uppercase;
  opacity: 0.9;
}

.mini-event-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.3;
}

.mini-event-spaces {
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  background: #eee;
  border-radius: 4px;
  padding: 2px 5px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 20px;
  box-shadow: 0 1px 4px rgba(18, 37, 98, 0.07);
}

.calendar-nav .btn-nav {
  background: transparent;
  color: var(--primary);
  border-color: #C1C1C1;
  font-size: 18px;
  padding: 6px 16px;
  line-height: 1;
}

.calendar-nav .btn-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.calendar-month {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.calendar-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calendar-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 1px 4px rgba(18, 37, 98, 0.07);
}

.calendar-section .see-more-link {
  font-size: 14px;
  color: var(--secondary);
}

.calendar-section--pulse {
  border-left: 4px solid var(--secondary);
}

.calendar-section-title {
  margin: 0 0 14px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  font-weight: 600;
}

.calendar-view {
  padding: 20px;
}

.calendar-view .mini-event-date .month {
  font-size: 10px;
}

/* Need Help Flow */
.need-help-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 600px;
  margin: 30px auto 0;
}

.need-help-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 12px;
  color: #000;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.need-help-option:hover {
  box-shadow: 0 4px 12px rgba(18,37,98,0.15);
  transform: translateY(-2px);
}

.need-help-icon {
  font-size: 24px;
  flex-shrink: 0;
}

/* Advisor Cards */
.advisor-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  max-width: 700px;
  margin: 30px auto 0;
}

@media (min-width: 600px) {
  .advisor-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.advisor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 25px;
  background: #fff;
  border-radius: 16px;
  color: #000;
  text-decoration: none;
  border: 3px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
}

.advisor-card:hover {
  box-shadow: 0 4px 16px rgba(18,37,98,0.15);
  transform: translateY(-2px);
}

.advisor-card.recommended {
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(93,149,232,0.2);
}

.advisor-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.advisor-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
  background: rgba(18,37,98,0.05);
}

.advisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-card h2 {
  margin: 0 0 5px;
  font-size: 22px;
}

.advisor-origin {
  color: #666;
  font-size: 14px;
  margin: 0 0 12px;
}

.advisor-card p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.advisor-card .btn {
  margin-top: auto;
}

/* Payment Step Flow */
.payment-step {
  background: #fff;
  border-radius: 16px;
  padding: 25px 30px;
  margin-bottom: 20px;
}

.payment-step-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.payment-step-header h2 {
  margin: 0;
  font-size: 22px;
}

.payment-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.price-box {
  background: #F8FAFF;
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.price-pyg {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.price-pyg span {
  font-size: 18px;
  font-weight: 500;
  color: #666;
}

.price-converted {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #666;
  font-size: 15px;
}

.copy-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFF;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  cursor: pointer;
}

.copy-field .copy-value {
  flex: 1;
  font-weight: 600;
  font-size: 16px;
  word-break: break-all;
}

.copy-field .copy-btn {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.copy-field:hover .copy-btn {
  opacity: 1;
}

.qr-holder {
  margin-top: 20px;
}

.qr-holder img {
  max-height: 200px;
  border-radius: 8px;
  border: 1px solid #eee;
  display: block;
}

.upload-step .upload-holder {
  margin-bottom: 0;
}

.upload-step .fake-file-input.btn {
  font-size: 17px;
  padding: 14px 30px;
}

/* Order Thank You */
.thankyou-hero {
  text-align: center;
  padding: 40px 20px 30px;
}

.thankyou-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #D4EDDA;
  color: #155724;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.next-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.next-step-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.next-step strong {
  display: block;
  margin-bottom: 4px;
}

.next-step p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

.service-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.service-logo img {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
}

.service-detail-logo {
  max-height: 80px;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
}

.help-banner-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  overflow: hidden;
  z-index: 999;
}

.help-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 0 20px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  line-height: 1.3;
  transform: translateX(-100%);
  will-change: transform;
}

.help-banner.active {
  transform: translateX(0);
}

.help-banner.slide-in {
  animation: banner-slide-in 0.5s ease forwards;
}

.help-banner.slide-out {
  animation: banner-slide-out 0.5s ease forwards;
}

@keyframes banner-slide-in {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

@keyframes banner-slide-out {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

.help-banner:hover {
  background: #1a3380;
  color: #fff;
}

/* Booking advisor block */
@media (max-width: 600px) {
  .booking-post {
    text-align: center;
    gap: 0.5rem;
  }

  .booking-post h1 {
    text-align: center;
    font-size: 18px;
  }

  .booking-post .booking-avatar {
    width: 80px !important;
    height: 80px !important;
  }

  .booking-post .booking-text {
    min-width: unset !important;
  }
}

@media (max-width: 360px) {
  .booking-post {
    flex-direction: column;
    align-items: center;
  }
}

.cal-inline-booking {
  width: 100%;
  min-height: 600px;
  overflow: hidden;
}

/* ─── Knowledge Base ───────────────────────────────────── */

.kb-category-section {
  margin-bottom: 40px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(18, 37, 98, .06);
}

.kb-category-heading {
  padding: 20px;
  border-bottom: 3px solid #f0f2f8;
}

.kb-category-heading h2 {
  margin: 0;
  font-size: 22px;
  color: var(--primary);
}

.kb-category-sub {
  color: #666;
  font-size: 13px;
  margin: 3px 0 0;
}

.kb-category-count {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kb-page-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f2f8;
  color: #000;
  transition: background .15s ease;
}

.kb-page-row:last-child {
  border-bottom: none;
}

.kb-page-row:hover {
  background: #f4f7ff;
}

.kb-page-text {
  flex: 1;
}

.kb-page-text strong {
  display: block;
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 2px;
}

.kb-page-row:hover .kb-page-text strong {
  color: var(--secondary);
}

.kb-page-text p {
  margin: 0;
  font-size: 13px;
  color: #777;
  line-height: 1.45;
}

.kb-page-arrow {
  font-size: 24px;
  color: var(--secondary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .15s ease;
}

.kb-page-row:hover .kb-page-arrow {
  transform: translateX(3px);
}
}