@charset "UTF-8";
:root {
	--primary-color: #4a6bff;
	--secondary-color: #6c47ff;
	--accent-color: #ff6b4a;
	--text-color: #333;
	--light-gray: #f8f9fa;
	--medium-gray: #e0e0e0;
	--dark-gray: #555;
	--header-bg: #ffffff;
	--footer-bg: linear-gradient(135deg, #f1f3ff, #e8ebff);
}

body {
	font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
		'Helvetica Neue', sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	margin: 0;
	padding: 0;
	background-color: #fff;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Header with banner */
header {
	background-color: var(--header-bg);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 10px 0;
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-container {
	display: flex;
	align-items: center;
	gap: 15px;
}

.logo-img {
	height: 40px;
	width: auto;
	transition: transform 0.3s;
}

.logo-img:hover {
	transform: scale(1.05);
}

.logo-text {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary-color);
	text-decoration: none;
}

.logo-text span {
	color: var(--accent-color);
}

/* Navigation */
nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

nav ul li {
	margin-left: 25px;
	position: relative;
}

nav ul li a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 500;
	transition: color 0.3s;
	padding: 5px 0;
}

nav ul li a:hover {
	color: var(--primary-color);
}

nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: width 0.3s;
}

nav ul li a:hover::after {
	width: 100%;
}

/* Breadcrumbs */
.breadcrumbs {
	padding: 12px 0;
	font-size: 14px;
	color: var(--dark-gray);
	background-color: var(--light-gray);
	border-radius: 5px;
	padding-left: 15px;
	margin: 10px 0;
}

.breadcrumbs a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s;
}

.breadcrumbs a:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

/* Search section */
.search-section {
	background: linear-gradient(135deg, var(--primary-color),
		var(--secondary-color));
	padding: 25px;
	border-radius: 8px;
	margin: 20px 0;
	color: white;
	box-shadow: 0 4px 12px rgba(74, 107, 255, 0.2);
}

.search-section h2 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 22px;
}

.search-form {
	display: flex;
	gap: 10px;
}

.search-form input {
	flex: 1;
	padding: 12px 15px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-form button {
	background-color: white;
	color: var(--primary-color);
	border: none;
	padding: 12px 25px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-form button:hover {
	background-color: var(--accent-color);
	color: white;
	transform: translateY(-2px);
}

/* Main content */
.main-content {
	margin: 25px 0 20px;
}

/* IP information section */
.ip-header {
	background: linear-gradient(to right, var(--primary-color),
		var(--secondary-color));
	padding: 25px;
	border-radius: 8px;
	margin-bottom: 25px;
	color: white;
	box-shadow: 0 4px 12px rgba(74, 107, 255, 0.2);
}

.ip-title {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
}

.ip-subtitle {
	margin: 8px 0 0;
	font-size: 16px;
	opacity: 0.9;
}

/* Info cards */
.info-card {
	background-color: #fff;
	border: 1px solid var(--medium-gray);
	border-radius: 8px;
	padding: 25px;
	margin-bottom: 25px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h2 {
	margin-top: 0;
	color: var(--primary-color);
	font-size: 22px;
	border-bottom: 2px solid var(--medium-gray);
	padding-bottom: 12px;
	margin-bottom: 20px;
}

.info-table {
	width: 100%;
	border-collapse: collapse;
}

.info-table tr:nth-child(even) {
	background-color: var(--light-gray);
}

.info-table th, .info-table td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid var(--medium-gray);
}

.info-table th {
	font-weight: 600;
	color: var(--dark-gray);
	width: 30%;
}

/* Footer widgets */
.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin: 40px 0;
}

.footer-widget {
	background: linear-gradient(145deg, #ffffff, #f8f9fa);
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.footer-widget h3 {
	margin-top: 0;
	color: var(--primary-color);
	font-size: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--medium-gray);
}

.related-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.related-links li {
	margin-bottom: 12px;
	padding-left: 15px;
	position: relative;
}

.related-links li::before {
	content: "•";
	color: var(--accent-color);
	position: absolute;
	left: 0;
}

.related-links a {
	color: var(--primary-color);
	text-decoration: none;
	transition: all 0.3s;
	display: inline-block;
	padding: 2px 0;
}

.related-links a:hover {
	color: var(--accent-color);
	transform: translateX(5px);
}

/* Footer */
footer {
	background: var(--footer-bg);
	padding: 40px 0 20px;
	border-top: 1px solid var(--medium-gray);
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
}

.footer-section {
	background: rgba(255, 255, 255, 0.7);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.footer-section h3 {
	color: var(--primary-color);
	font-size: 18px;
	margin-top: 0;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--medium-gray);
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section ul li {
	margin-bottom: 10px;
}

.footer-section ul li a {
	color: var(--text-color);
	text-decoration: none;
	transition: all 0.3s;
	display: inline-block;
	padding: 2px 0;
}

.footer-section ul li a:hover {
	color: var(--primary-color);
	transform: translateX(5px);
}

.copyright {
	text-align: center;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	font-size: 14px;
}

/* Error message */
.alert-danger {
	background-color: #f8d7da;
	color: #721c24;
	padding: 15px;
	border-radius: 5px;
	margin: 20px 0;
	border: 1px solid #f5c6cb;
}

/* Loading spinner */
.loading-spinner {
	display: none;
	border: 4px solid #f3f3f3;
	border-top: 4px solid var(--primary-color);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 20px auto;
}

@keyframes spin { 0% {	transform: rotate(0deg);}

100%
{
transform
:
rotate(
360deg
);
}
}

/* WHOIS pre formatting */
pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	background: var(--light-gray);
	padding: 15px;
	border-radius: 5px;
	overflow-x: auto;
}

/* Responsiveness */
@media ( max-width : 768px) {
	.header-container {
		flex-direction: column;
		text-align: center;
		gap: 15px;
	}
	.logo-container {
		justify-content: center;
	}
	nav ul {
		margin-top: 15px;
		justify-content: center;
		flex-wrap: wrap;
		gap: 10px;
	}
	nav ul li {
		margin-left: 15px;
		margin-right: 15px;
	}
	.search-form {
		flex-direction: column;
	}
	.search-form button {
		width: 100%;
	}
	.footer-section, .footer-widget {
		min-width: 100%;
	}
}