/* ========================================
   TERMS & CONDITIONS PAGE STYLES
   ======================================== */

/* Terms Section */
.terms-section {
	padding: 60px 0;
	background-color: #f8f9fa;
}

/* Sidebar Navigation */
.terms-sidebar {
	background: #fff;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	position: sticky;
	top: 120px;
	margin-bottom: 30px;
}

.terms-sidebar h4 {
	color: #293681;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #4274D9;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

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

.terms-nav li {
	margin-bottom: 8px;
}

.terms-nav a {
	display: block;
	padding: 10px 15px;
	color: #5a5a5a;
	font-size: 14px;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
}

.terms-nav a:hover,
.terms-nav a.active {
	background-color: #f0f4ff;
	color: #4274D9;
	border-left-color: #4274D9;
	padding-left: 12px;
}

.terms-sidebar-cta {
	margin-top: 30px;
	padding: 20px;
	background: linear-gradient(135deg, #4274D9 0%, #293681 100%);
	border-radius: 8px;
	text-align: center;
}

.terms-sidebar-cta p {
	color: #fff;
	font-size: 14px;
	margin-bottom: 15px;
	font-weight: 500;
}

.terms-sidebar-cta p i {
	font-size: 18px;
	margin-right: 5px;
}

.btn-cta-small {
	display: inline-block;
	padding: 10px 20px;
	background: #fff;
	color: #4274D9;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	transition: all 0.3s ease;
}

.btn-cta-small:hover {
	background: #f0f4ff;
	color: #293681;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Terms Content */
.terms-content {
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.terms-article {
	margin-bottom: 50px;
	padding-bottom: 40px;
	border-bottom: 1px solid #e8e8e8;
}

.terms-article:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.terms-article h2 {
	color: #293681;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.section-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: linear-gradient(135deg, #4274D9 0%, #293681 100%);
	color: #fff;
	border-radius: 50%;
	font-size: 20px;
	font-weight: 700;
	flex-shrink: 0;
}

.terms-article h3 {
	color: #293681;
	font-size: 20px;
	font-weight: 600;
	margin-top: 30px;
	margin-bottom: 15px;
}

.terms-article p {
	color: #5a5a5a;
	font-size: 15px;
	line-height: 1.8;
	margin-bottom: 15px;
}

.terms-last-updated {
	display: inline-block;
	padding: 8px 15px;
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	color: #856404;
	font-size: 13px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.terms-last-updated i {
	margin-right: 5px;
}

/* Lists */
.terms-list,
.terms-ordered-list {
	margin: 20px 0;
	padding-left: 0;
}

.terms-list li,
.terms-ordered-list li {
	color: #5a5a5a;
	font-size: 15px;
	line-height: 1.8;
	margin-bottom: 12px;
	padding-left: 30px;
	position: relative;
}

.terms-list li {
	list-style: none;
}

.terms-list li:before {
	content: "\f00c";
	font-family: 'FontAwesome';
	position: absolute;
	left: 0;
	color: #4274D9;
	font-size: 14px;
	top: 3px;
}

.terms-ordered-list {
	counter-reset: item;
	list-style-type: none;
}

.terms-ordered-list li {
	padding-left: 35px;
}

.terms-ordered-list li:before {
	content: counter(item) ".";
	counter-increment: item;
	position: absolute;
	left: 0;
	font-weight: 700;
	color: #4274D9;
	font-size: 16px;
}

/* Info Boxes */
.terms-info-box,
.terms-warning-box {
	display: flex;
	gap: 15px;
	padding: 20px;
	border-radius: 8px;
	margin: 25px 0;
}

.terms-info-box {
	background: #e7f3ff;
	border-left: 4px solid #4274D9;
}

.terms-warning-box {
	background: #fff3e0;
	border-left: 4px solid #ff9800;
}

.terms-info-box i,
.terms-warning-box i {
	font-size: 24px;
	flex-shrink: 0;
	margin-top: 2px;
}

.terms-info-box i {
	color: #4274D9;
}

.terms-warning-box i {
	color: #ff9800;
}

.terms-info-box strong,
.terms-warning-box strong {
	color: #293681;
	display: block;
	margin-bottom: 5px;
}

.terms-info-box p,
.terms-warning-box p {
	margin: 0;
	font-size: 14px;
}

/* Payment Methods Grid */
.payment-methods-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.payment-method-card {
	background: #f8f9fa;
	padding: 25px;
	text-align: center;
	border-radius: 8px;
	border: 2px solid #e8e8e8;
	transition: all 0.3s ease;
}

.payment-method-card:hover {
	border-color: #4274D9;
	box-shadow: 0 4px 15px rgba(66, 116, 217, 0.15);
	transform: translateY(-3px);
}

.payment-method-card i {
	font-size: 36px;
	color: #4274D9;
	margin-bottom: 15px;
}

.payment-method-card h4 {
	color: #293681;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}

.payment-method-card p {
	color: #5a5a5a;
	font-size: 13px;
	margin: 0;
}

/* Contact Details Box */
.contact-details-box {
	background: #f8f9fa;
	padding: 30px;
	border-radius: 8px;
	border: 2px solid #e8e8e8;
	margin: 30px 0;
}

.contact-details-box h3 {
	color: #293681;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid #4274D9;
}

.contact-details-box h3 i {
	margin-right: 10px;
	color: #4274D9;
}

.contact-row {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
	align-items: flex-start;
}

.contact-row i {
	font-size: 20px;
	color: #4274D9;
	margin-top: 3px;
	flex-shrink: 0;
}

.contact-row strong {
	display: block;
	color: #293681;
	font-size: 14px;
	margin-bottom: 5px;
}

.contact-row a {
	color: #4274D9;
	text-decoration: none;
}

.contact-row a:hover {
	text-decoration: underline;
}

/* Agreement Box */
.terms-agreement-box {
	display: flex;
	gap: 20px;
	background: linear-gradient(135deg, #e7f3ff 0%, #f0f4ff 100%);
	padding: 30px;
	border-radius: 8px;
	border: 2px solid #4274D9;
	margin-top: 40px;
}

.agreement-icon {
	flex-shrink: 0;
}

.agreement-icon i {
	font-size: 48px;
	color: #4274D9;
}

.terms-agreement-box h3 {
	color: #293681;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 15px;
	margin-top: 0;
}

.terms-agreement-box p {
	color: #5a5a5a;
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 10px;
}

.terms-footer-note {
	font-size: 13px;
	color: #293681;
	font-weight: 600;
	margin-top: 15px;
	margin-bottom: 0;
}

/* CTA Section */
.terms-cta-section {
	text-align: center;
	padding: 50px;
	background: linear-gradient(135deg, #293681 0%, #4274D9 100%);
	border-radius: 12px;
	color: #fff;
}

.terms-cta-section h3 {
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 15px;
}

.terms-cta-section h3 i {
	margin-right: 10px;
}

.terms-cta-section p {
	color: rgba(255,255,255,0.9);
	font-size: 16px;
	margin-bottom: 30px;
}

.btn-primary-lg,
.btn-secondary-lg {
	display: inline-block;
	padding: 15px 35px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	margin: 0 10px;
	transition: all 0.3s ease;
}

.btn-primary-lg {
	background: #fff;
	color: #4274D9;
}

.btn-primary-lg:hover {
	background: #f0f4ff;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary-lg {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
}

.btn-secondary-lg:hover {
	background: rgba(255,255,255,0.1);
	transform: translateY(-3px);
}

.btn-primary-lg i,
.btn-secondary-lg i {
	margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 991px) {
	.terms-sidebar {
		position: static;
		margin-bottom: 30px;
	}
	
	.terms-content {
		padding: 30px 20px;
	}
}

@media (max-width: 767px) {
	.terms-article h2 {
		font-size: 22px;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.section-number {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	
	.terms-article h3 {
		font-size: 18px;
	}
	
	.payment-methods-grid {
		grid-template-columns: 1fr;
	}
	
	.terms-agreement-box {
		flex-direction: column;
		text-align: center;
	}
	
	.terms-cta-section {
		padding: 30px 20px;
	}
	
	.terms-cta-section h3 {
		font-size: 22px;
	}
	
	.btn-primary-lg,
	.btn-secondary-lg {
		display: block;
		margin: 10px 0;
		width: 100%;
	}
}

/* Print Styles */
@media print {
	.terms-sidebar,
	.terms-cta-section,
	header,
	footer,
	.page-hero-nav {
		display: none;
	}
	
	.terms-content {
		box-shadow: none;
		padding: 0;
	}
	
	.terms-article {
		page-break-inside: avoid;
	}
	
	.terms-article h2 {
		page-break-after: avoid;
	}
}

/* ==========================================
   TEMPORARY HIDING - FEATURES NOT YET DEVELOPED
   ========================================== */

/* Hide card payment and installment cards - not yet available */
.payment-method-card:nth-child(2),
.payment-method-card:nth-child(4) {
	display: none !important;
}

/* Hide card payment subsection - section 4.2 */
#placanje h3:nth-of-type(2),
#placanje h3:nth-of-type(2) + p,
#placanje h3:nth-of-type(2) + p + .terms-warning-box {
	display: none !important;
}
