/* Custom Help Scout StyleSheet - Zentake.com */
/* Modern, healthcare-focused design with Zentake brand colors */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
	background: #f9fafb;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Home Page Title */
#docsSearch h1 {
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	margin-top: 0.5em;
	font-family: 'Inter', sans-serif;
	color: #111827;
	padding: 15px;
	letter-spacing: -0.5px;
}

/* Navigation */
.navbar .nav li {
	display: inline-block;
	float: none;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
}

.navbar .nav li a, .navbar .icon-private-w {
	font-size: 14px;
	font-weight: 500;
	color: #4a5568;
	transition: color 0.2s ease;
}

.navbar .nav li a:hover {
	color: #10b981;
}

/* Header */
a.brand > img {
	max-width: 100%;
	vertical-align: middle;
	border: 0;
	height: 50px;
	margin-left: 20px;
	width: auto;
}

.navbar .navbar-inner {
	background: #ffffff;
	height: 70px;
	border-bottom: 1px solid #e5e7eb;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .navbar-inner .container-fluid {
	padding: 0;
	height: 70px;
}

.navbar .brand {
	float: left;
	display: block;
	padding: 0;
	margin-left: -20px;
	font-size: 20px;
	font-weight: 600;
	color: #111827;
}

/* Search Section */
#docsSearch {
	background: #ffffff;
	border-top: none;
	margin-bottom: 3em;
	padding: 3em 0 4em;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Search Input */
input.search-query {
	padding: 14px 20px;
	margin-bottom: 0;
	border-radius: 8px;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	border: 1px solid #d1d5db;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

input.search-query:focus {
	outline: none;
	border-color: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Category Titles */
.category-list h3 {
	color: #111827;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4em;
	font-family: 'Inter', sans-serif;
	letter-spacing: -0.3px;
}

/* Category Cards */
.category-list .category p {
	color: #6b7280;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.6;
}

.category-list .category {
	background-color: #ffffff;
	background-position: top 30px center !important;
	background-repeat: no-repeat !important;
	background-size: 80px auto !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	box-sizing: border-box;
	min-height: 200px;
	padding: 120px 25px 20px;
	position: relative;
	width: 31.5%;
	transition: all 0.3s ease;
	border-radius: 12px;
	border: 1px solid #f3f4f6;
}

.category-list .category:hover {
	text-decoration: none;
	background-color: #fafbfc;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
	border-color: #e5e7eb;
}

/* Collection Category Headers */
.collection-category h2 {
	font-weight: 600;
	margin: 0 0 30px;
	text-align: center;
	padding-left: 0;
	font-family: 'Inter', sans-serif;
	color: #374151;
	font-size: 24px;
	letter-spacing: -0.5px;
}

.collection-category h2 a {
	color: #10b981;
	text-decoration: none;
}

.collection-category h2 a:hover {
	color: #059669;
}

.collection-category .category-list {
	margin: 0 0 4em;
	text-align: center;
}

/* Link Styles */
#serp-dd .result a, 
#serp-dd .result>li.active, 
#full-Article strong a, 
.collection a, 
.contentWrapper a, 
.most-pop-articles .popArticles a, 
.most-pop-articles .popArticles a span, 
.category-list .category .article-count, 
.contentWrapper a {
	font-weight: 500;
	color: #10b981;
	text-decoration: none;
	font-family: 'Inter', sans-serif;
	transition: color 0.2s ease;
}

#serp-dd .result a:hover, 
.collection a:hover, 
.contentWrapper a:hover, 
.most-pop-articles .popArticles a:hover, 
.category-list .category:hover .article-count {
	color: #059669;
}

/* Search Button */
#searchBar button {
	color: #fff;
	background: #10b981;
	border-radius: 0 8px 8px 0;
	border: 1px solid #10b981;
	font-size: 16px;
	font-weight: 600;
	padding: 0 2em;
	height: 50px;
	position: absolute;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#searchBar button:hover {
	background: #059669;
	border-color: #059669;
	box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

input, button, select, textarea {
	font-family: 'Inter', sans-serif;
}

/* Category Images */
/* Add your category-specific images here */
/* Example:
#category-123 {
	background-image: url(https://your-storage.com/images/category-icon.svg);
}
*/

/* Sidebar Styles */
#sidebar .nav-list a {
	display: inline-block;
	color: #4a5568;
	font-size: 14px;
	padding: 8px 15px 8px 0;
	line-height: 1.5;
	margin-left: 0;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	transition: color 0.2s ease;
}

#sidebar .nav-list a:hover {
	color: #10b981;
}

#sidebar .nav-list .active a, 
#sidebar .nav-list .active a:hover, 
#sidebar .nav-list .active a:focus {
	font-weight: 600;
	color: #10b981;
	background: transparent;
	text-shadow: none;
	text-decoration: none;
}

#sidebar h3 {
	text-transform: uppercase;
	font-size: 12px;
	color: #9ca3af;
	font-weight: 700;
	margin-bottom: 12px;
	font-family: 'Inter', sans-serif;
	letter-spacing: 0.5px;
}

/* Article Content */
#main-content {
	background: none;
	float: right;
	margin-bottom: 2em;
	padding: 40px 0 0 32px;
}

#fullArticle img {
	display: block;
	margin: 1.5em 0 2em;
	padding: 4px;
	border-radius: 8px;
	box-sizing: border-box;
	border: 1px solid #e5e7eb;
}

#fullArticle .title, .contentWrapper h1 {
	margin: 0 30px 1em 0;
	font-family: 'Inter', sans-serif;
	color: #111827;
	font-weight: 700;
	font-size: 32px;
	letter-spacing: -0.5px;
	line-height: 1.3;
}

#fullArticle .printArticle {
	position: absolute;
	right: 46px;
	top: 40px;
}

#fullArticle, 
#fullArticle p, 
#fullArticle ul, 
#fullArticle ol, 
#fullArticle li, 
#fullArticle div, 
#fullArticle blockquote, 
#fullArticle dd, 
#fullArticle table {
	color: #4b5563;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
}

#categoryHead .sort select {
	width: 150px;
	height: 36px;
	margin: 0;
	padding: 0 8px;
	line-height: 36px;
	font-size: 14px;
	color: #4b5563;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	border: 1px solid #d1d5db;
	border-radius: 6px;
}

#fullArticle strong {
	color: #1f2937;
	font-weight: 600;
}

#fullArticle h2 {
	font-size: 26px;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	color: #111827;
	margin-top: 2em;
	margin-bottom: 0.75em;
	letter-spacing: -0.5px;
}

#fullArticle h3 {
	font-size: 22px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: #1f2937;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

#fullArticle h4 {
	font-size: 18px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: #374151;
	margin-top: 1.25em;
	margin-bottom: 0.5em;
}

.contentWrapper p {
	margin-top: 0;
	margin-bottom: 1em;
	word-wrap: break-word;
	font-family: 'Inter', sans-serif;
	color: #4b5563;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
}

/* Article Footers */
.articleFoot p, .articleFoot time {
	color: #6b7280;
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
}

/* Page Footers */
footer p a {
	color: #6b7280;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	transition: color 0.2s ease;
}

footer p a:hover {
	color: #10b981;
}

/* Contact Modal */
#contactModal h2, .abuse h2 {
	background: #fff;
	margin: 0;
	padding: 16px 0 14px 24px;
	font-size: 24px;
	border-bottom: 1px solid #e5e7eb;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	font-family: 'Inter', sans-serif;
	color: #111827;
	font-weight: 600;
}

#contactModal .control-label {
	width: 110px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
}

/* Buttons */
.btn {
	color: #fff;
	background: #10b981;
	border-radius: 8px;
	border: 1px solid #10b981;
	font-size: 15px;
	font-weight: 600;
	padding: 10px 20px;
	transition: all 0.2s ease;
	font-family: 'Inter', sans-serif;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:hover, 
.btn:focus, 
.btn:active, 
.btn.active {
	color: #fff;
	background: #059669;
	border-color: #059669;
	box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.btn.disabled, 
.btn[disabled] {
	color: #fff;
	background: #9ca3af;
	border-color: #9ca3af;
	opacity: 0.6;
	cursor: not-allowed;
}

#search-query .btn:hover {
	color: #fff;
	background: #4f46e5;
	border-radius: 8px;
	border: 1px solid #4f46e5;
	font-size: 16px;
	padding: 0 2em;
	height: 50px;
}

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

/* Responsive Design */

/* Three columns to two columns */
@media screen and (max-width: 1105px) {
	section.category-list .category {
		width: 48.2%;
	}
}

/* Two columns to one column */
@media screen and (max-width: 760px) {
	section.category-list .category {
		box-sizing: border-box;
		margin: 0 0 20px;
		padding: 120px 20px 20px;
		width: 100%;
	}
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
	.navbar .btn-navbar {
		margin-top: 20px;
		right: -10px;
	}
	
	.related {
		padding: 30px 25px 25px;
	}
	
	.related ul {
		margin-left: 0;
	}
	
	.related h3 {
		padding-left: 0;
	}
	
	.related ul>li a {
		margin-left: 0;
	}
	
	#docsSearch h1 {
		font-size: 28px;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	#searchBar button {
		color: transparent;
		background: #10b981;
		border-radius: 0 8px 8px 0;
		border: 1px solid #10b981;
		font-size: 16px;
		padding: 0 1.5em;
		height: 50px;
		position: absolute;
	}
	
	#searchBar button .icon-search {
		display: block;
		color: #fff;
		margin-top: 15px;
	}
	
	#searchBar button:hover {
		background: #059669;
		border-color: #059669;
	}
	
	#searchBar button:hover .icon-search {
		display: block;
		margin-top: 15px;
	}
	
	#fullArticle .title, .contentWrapper h1 {
		font-size: 26px;
	}
	
	#fullArticle h2 {
		font-size: 22px;
	}
	
	#docsSearch h1 {
		font-size: 24px;
	}
}

/* Additional Polish */
.collection-category h2 a {
	color: #10b981;
}

.collection-category h2 {
	font-weight: 600;
	margin: 0 0 30px;
	padding-left: 0;
	font-family: 'Inter', sans-serif;
	text-align: center;
	letter-spacing: -0.5px;
}

/* Code Blocks */
#fullArticle code {
	background: #f3f4f6;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 14px;
	color: #1f2937;
	font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

#fullArticle pre {
	background: #1f2937;
	color: #f9fafb;
	padding: 16px;
	border-radius: 8px;
	overflow-x: auto;
	margin: 1.5em 0;
}

#fullArticle pre code {
	background: transparent;
	color: #f9fafb;
	padding: 0;
}

/* Tables */
#fullArticle table {
	border-collapse: collapse;
	width: 100%;
	margin: 1.5em 0;
}

#fullArticle table th,
#fullArticle table td {
	border: 1px solid #e5e7eb;
	padding: 12px;
	text-align: left;
}

#fullArticle table th {
	background: #f9fafb;
	font-weight: 600;
	color: #1f2937;
}

/* Lists */
#fullArticle ul,
#fullArticle ol {
	margin: 1em 0;
	padding-left: 1.5em;
}

#fullArticle li {
	margin: 0.5em 0;
}

/* Blockquotes */
#fullArticle blockquote {
	border-left: 4px solid #10b981;
	padding-left: 1.5em;
	margin: 1.5em 0;
	color: #4b5563;
	font-style: italic;
}
