﻿/*body {
	background: #f5f6fa;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	padding: 0;
}*/

.tab-container {
	max-width: 100%;
	margin: 10px auto;
	background: rgba(255,255,255,0.9);
	/*border: 1px solid rgba(255,255,255,0.9);*/
	border-radius: 7px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.5);
	overflow: hidden;
}

/* Hide radio buttons */
input[type="radio"] {
	display: none;
}

/* Tab labels */
.tab-labels {
	display: flex;
	background: #d2d8e0;
	border-bottom: 1px solid #ccc;
}

	.tab-labels label {
		flex: 1;
		padding: 15px;
		text-align: center;
		cursor: pointer;
		font-weight: 500;
		color: #31576f;
		transition: all 0.3s ease;
		border-bottom: 3px solid transparent;
		font-size: 16px;
	}

		.tab-labels label:hover {
			background: #d6dce2;
		}

/* Active tab */
#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"],
#tab4:checked ~ .tab-labels label[for="tab4"] {
	background: #fff;
	color: #31576f;
	font-weight: bold;
	border-bottom: 3px solid #31576f;
}

/* Tab content */
.tab-content {
	display: none;
	padding: 10px;
	animation: fadeIn 0.3s ease-in-out;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/*h3 {
	margin-top: 0;
	color: #0078D7;
}

p {
	color: #333;
}*/

/* Mobile Responsive */
@media (max-width: 600px) {
	.tab-labels {
		flex-direction: column;
	}

		.tab-labels label {
			border-bottom: 1px solid #ccc;
			font-size: 18px;
			padding: 14px;
		}

			.tab-labels label:last-child {
				border-bottom: none;
			}

	.tab-content {
		padding: 20px;
		font-size: 16px;
	}
}
