.top-answer-template-control {
	margin: 40px 0;
	display: flex;
	gap: 80px;
}
.top-answer-template-control .left-zone{
	width: 35%;
}
.top-answer-template-control .left-zone .title span{
	font-family: Ford Antenna;
	font-weight: 600;
	font-size: 40px;
	color: #3E4241;
}
.top-answer-template-control .left-zone .redirect{
	text-align: right;
	margin-top: 20px;
}
.top-answer-template-control .left-zone .redirect a{
	font-family: Google Sans;
	font-weight: 500;
	font-size: 17px;
	line-height: 22px;
	color: #95A9A7;
}
.top-answer-template-control .left-zone .redirect a:hover{
	color: #7a7a7a;
}
.top-answer-template-control .left-zone .redirect a:after{
	content: '\f178';
	font-family: 'Font Awesome 5 Pro';
	padding-left: 5px;
}
.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid;
  border-color: #fff #0C5ADB;
  animation: l1 1s infinite;
        margin: 40px auto;
}
.loader-in-item {
	 margin: 0;
	border-width: 2px;
	width: 16px;
	position: absolute;
	right: 10px;
	top: 10px;
}
@keyframes l1 {to{transform: rotate(.5turn)}}
.top-answer-template-control .answer-result{
	flex: 1;
}
.top-answer-template-control .answer-result .result-list .result-item{
	border-bottom: 1px solid #CFCFCFB2;
	padding: 10px 0;
	position: relative;
}
.top-answer-template-control .answer-result .result-list .result-item .title a{
	font-family: Google Sans;
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	color: #2e2e2e;
}
.top-answer-template-control .answer-result .result-list .result-item .title a:hover{
	color: #0C5ADB;
}
.top-answer-template-control .answer-result .result-list .result-item .content{
	max-height: 500px;
	overflow-y: auto;
	padding: 0 20px 10px 0;
	scrollbar-width: thin;
	  scrollbar-color: #ddd #ffffff;
}
.detail-answer-template-control {
	padding: 40px 0;
}
.detail-answer-template-control .answer-detail,
.detail-answer-template-control .answer-detail *{
	font-family: 'SFProDisplay';
	font-weight: 400;
	font-size: 18px;
	line-height: 31px;
	color: #191A23;
}
.detail-answer-template-control  .answer-title{
        font-family: Ford Antenna;
        font-weight: 600;
        font-size: 40px;
        line-height: 100%;
        text-align: center;
        color: #3E4241;
        margin-bottom: 40px;
}
.detail-answer-template-control  .answer-title:first-letter{
        text-transform:uppercase}
.detail-answer-template-control .back-to-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 16px;
  background-color: #1F7BFF;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
  font-family: inherit; /* keep page font */
}

/* Add Font Awesome icon before text */
.detail-answer-template-control .back-to-list::before {
  content: "\f060"; /* ← Font Awesome "arrow-left" icon */
  font-family: "Font Awesome 5 Pro"; /* required for Pro version */
  font-weight: 300; /* 300 = Light (fal), change to 900 for solid (fas) */
  margin-right: 8px;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.detail-answer-template-control .back-to-list:hover {
  background-color: #0056b3;
  text-decoration: none;
}

.detail-answer-template-control .back-to-list:hover::before {
  transform: translateX(-3px);
}
/* Container */
.list-answer-template-control {
  /* max-width: 900px; */
  margin: 40px auto;
  /* font-family: "Inter", "Segoe UI", sans-serif; */
}

/* --- Search Section --- */
.list-answer-template-control .search-section {
  margin-bottom: 20px;
}

.list-answer-template-control .search-controls {
  display: flex;
  gap: 10px;
}

.list-answer-template-control .search-input {
  flex: 1;
  padding: 6px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 15px;
}

.list-answer-template-control .search-button,
.list-answer-template-control .clear-button {
     border-radius: 20px;
     transition: opacity 0.3s linear;
     padding: 6px 16px;
     font-size: 15px;
     cursor: pointer;
     border: 0;
     transition: background-color 0.2s ease;
     font-weight: 600;
}

.list-answer-template-control .search-button {
  background-color: #007bff;
  color: #fff;
}

.list-answer-template-control .search-button:hover {
  background-color: #0056b3;
}

.list-answer-template-control .clear-button {
  background-color: #e0e0e0;
  color: #333;
}

.list-answer-template-control .clear-button:hover {
  background-color: #cfcfcf;
}

/* --- Results --- */
.list-answer-template-control .total-count {
  margin-bottom: 10px;
      font-family: 'SFProDisplay';
    font-weight: 400;
    font-size: 15px;
    color: #606367;
}

/* Each result item */
.list-answer-template-control .result-item {
  padding: 14px 18px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  background-color: #fff;
  position: relative;
}

/* Add icon before title using Font Awesome */
.list-answer-template-control .result-item .title a.link::before {
  content: "\f059"; /* Font Awesome 'question-circle' icon */
  font-family: "Font Awesome 5 Pro";
  font-weight: 400; /* 400 = Regular; use 900 for Solid (fas), 300 for Light (fal) */
  margin-right: 8px;
  color: #007bff;
}

.list-answer-template-control .result-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: #007bff20;
}

.list-answer-template-control .result-item .title a.link {
  text-decoration: none;
  color: #007bff;
font-family: 'Ford Antenna';
    font-weight: 600;
    font-size: 22px;
}

.list-answer-template-control .result-item .title a.link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Loader placeholder */
.list-answer-template-control .loader-in-item {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Pagination */
.list-answer-template-control .pagination-section {
  margin-top: 20px;
  text-align: center;
}
/* Pagination Section */
.pagination-section {
  margin: 40px 0;
  text-align: center;
}

/* Pagination Controls Layout */
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  flex-wrap: wrap;
}

/* Buttons */
.pagination-controls .page-button {
  text-decoration: none;
  padding: 8px 30px;
  border-radius: 200px;
  font-weight: bold;
  color: #2e2e2e;
  background: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0px 10px 20px 0px #D2D6E5E5;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.15s ease;
  font-size: 15px;
}

/* Hover effect */
.pagination-controls .page-button:hover {
  background: #1B5EC8;
  color: #fff;
  transform: translateY(-1px);
}

/* Disabled buttons (ASP.NET adds .aspNetDisabled) */
.pagination-controls .aspNetDisabled {
  color: #999 !important;
  cursor: not-allowed !important;
  background: #eee !important;
  box-shadow: none !important;
}

/* Page info text */
.pagination-controls .page-info {
  font-weight: bold;
  color: #333;
  padding: 0 12px;
  font-size: 15px;
}

/* Optional: Add Font Awesome arrows using CSS */
.pagination-controls #ctrl_144846_167_btnPrevious::before {
  content: "\f104"; /* Font Awesome 'angle-left' */
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  margin-right: 6px;
}

.pagination-controls #ctrl_144846_167_btnNext::after {
  content: "\f105"; /* Font Awesome 'angle-right' */
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  margin-left: 6px;
}

@media only screen and (max-width: 768px){
	.top-answer-template-control{
		flex-direction: column;
		gap: 20px;
	}
	.top-answer-template-control>div{
		padding: 0 20px;
	}
	.top-answer-template-control .left-zone{
		width: 100%;
	}
	.top-answer-template-control .left-zone .title span{
		font-weight: 600;
		font-size: 31px;
	}
}