html,
body {
	height: 100%;
	font-size: 14px;
	line-height: 1.42857143;

	--xy-controls-button-background-color-default: #fefefe;
	--xy-controls-button-background-color-hover-default: #f4f4f4;
	--xy-controls-button-color-default: inherit;
	--xy-controls-button-color-hover-default: inherit;
	--xy-controls-button-border-color-default: #eee;
	--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);
}

#root {
	height: 100%;
	width: 100%;
}

:root {
	/* --brand-primary: #2c5f5f; */
	--brand-primary: #34495e;
	/* Bleu-vert foncé du logo */
	--brand-secondary: #f39c12;
	/* Orange doré du logo */
	--brand-dark: #1a3a3a;
	/* Version plus foncée du bleu-vert */
	--brand-light: #4a7c7c;
	/* Version plus claire du bleu-vert */
	--text-light: #ecf0f1;
	/* Texte clair */
	--text-muted: #bdc3c7;
	/* Texte secondaire */
}

.bg-vizcon {
	background-color: var(--brand-primary);
}

/***** NAVBAR *****/
nav[role="navigation"] {
	background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
	border-right: 1px solid var(--brand-light);
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
	color: var(--text-light);
}

/* Logo/Brand section */
.navbar-brand {
	color: var(--text-light) !important;
	padding: 1rem 0;
	border-bottom: 1px solid var(--brand-light);
}

.navbar-brand:hover {
	color: var(--brand-secondary) !important;
}

.navbar-brand span {
	color: var(--text-light) !important;
}

/* Navigation links - Base styles */
.nav-link {
	color: var(--text-light) !important;
	padding: 0.75rem 1rem;
	border-radius: 0.375rem;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
	margin-bottom: 0.25rem;
	display: flex;
	align-items: center;
}

/* Hover states */
.nav-link:hover {
	color: var(--brand-secondary) !important;
	background-color: rgba(255, 255, 255, 0.05);
	border-left-color: var(--brand-secondary);
	transform: translateX(2px);
}

/* Active state pour NavLink */
.nav-link.active {
	color: white !important;
	background-color: var(--brand-secondary);
	border-left-color: var(--brand-secondary);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Focus states pour l'accessibilité */
.nav-link:focus {
	outline: 2px solid var(--brand-secondary);
	outline-offset: 2px;
}

/* Bouton Sign out */
button.nav-link {
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	cursor: pointer;
}

button.nav-link:hover {
	color: var(--brand-secondary) !important;
	background-color: rgba(255, 255, 255, 0.05);
}

/* Version number styling */
.nav-version {
	color: var(--brand-secondary) !important;
}

/* Icônes dans la navigation */
.nav-link i {
	margin-right: 0.5rem;
	width: 1.2rem;
	text-align: center;
	flex-shrink: 0;
}

/* Images d'icônes (comme AWS) */
.nav-icon {
	margin-right: 0.5rem;
	filter: brightness(0) invert(1);
	/* Rend les icônes blanches */
	transition: filter 0.3s ease;
	flex-shrink: 0;
}

.nav-link:hover .nav-icon {
	filter: brightness(0) saturate(100%) invert(69%) sepia(85%) saturate(2142%) hue-rotate(359deg) brightness(99%) contrast(93%);
	/* Couleur orange pour le hover */
}

.nav-link.active .nav-icon {
	filter: brightness(0) invert(1);
	/* Blanc pour l'état actif */
}

/* Bootstrap Icons spécifiques */
.bi {
	color: inherit;
}

/* Section User Profile */
.nav-item.border-top {
	border-top: 1px solid var(--brand-light) !important;
	padding-top: 0.75rem;
	margin-top: 0.75rem;
}

.nav-item.border-top .nav-link {
	cursor: default;
	border-left: none;
	transform: none;
}

.nav-item.border-top .nav-link:hover {
	background-color: transparent;
	transform: none;
}

/* Texte tronqué pour le nom d'utilisateur */
.nav-link span[style*="textOverflow"] {
	color: var(--text-muted) !important;
}

/* Liens externes */
a.nav-link[target="_blank"] {
	position: relative;
}

a.nav-link[target="_blank"]:after {
	content: "↗";
	font-size: 0.75rem;
	margin-left: 0.25rem;
	opacity: 0.7;
}

/* HR separator */
hr {
	border-color: var(--brand-light);
	opacity: 0.5;
	margin: 1rem 0;
}

/* Dropdown section */
.dropdown {
	width: 100%;
}

/* Pills navigation */
.nav-pills .nav-link {
	border-radius: 0.375rem;
}

.nav-pills .nav-link.active {
	background-color: var(--brand-secondary);
}


/***** BOOTSTRAP OVERRIDES - VIZCON BRAND *****/

/* Button variants with VizCon brand colors */
.btn-primary {
	background-color: var(--brand-primary);
	border-color: var(--brand-primary);
	color: var(--text-light);
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--brand-dark);
	border-color: var(--brand-dark);
	color: var(--text-light);
}

.btn-primary:active,
.btn-primary.active {
	background-color: var(--brand-dark);
	border-color: var(--brand-dark);
}

.btn-secondary {
	background-color: var(--brand-secondary);
	border-color: var(--brand-secondary);
	color: white;
}

.btn-secondary:hover,
.btn-secondary:focus {
	background-color: #e67e22;
	border-color: #e67e22;
	color: white;
}

.btn-outline-primary {
	color: var(--brand-primary);
	border-color: var(--brand-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
	background-color: var(--brand-primary);
	border-color: var(--brand-primary);
	color: var(--text-light);
}

.btn-outline-secondary {
	color: var(--brand-secondary);
	border-color: var(--brand-secondary);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
	background-color: var(--brand-secondary);
	border-color: var(--brand-secondary);
	color: white;
}

/* Form controls with VizCon brand styling */
.form-control:focus,
.form-select:focus {
	border-color: var(--brand-secondary);
}

.form-check-input:checked {
	background-color: var(--brand-secondary);
	border-color: var(--brand-secondary);
}

.form-check-input:focus {
	border-color: var(--brand-secondary);
}

/* Card components with VizCon branding */
.card {
	border: 1px solid var(--brand-light);
}

.card-header {
	background-color: var(--brand-primary);
	color: var(--text-light);
	border-bottom: 1px solid var(--brand-light);
}

.border-primary {
	border-color: var(--brand-primary) !important;
}

.border-secondary {
	border-color: var(--brand-secondary) !important;
}

/* Alert variants with VizCon brand colors */
.alert-primary {
	color: var(--text-light);
	background-color: rgba(52, 73, 94, 0.1);
	border-color: var(--brand-primary);
}

.alert-secondary {
	color: #856404;
	background-color: rgba(243, 156, 18, 0.1);
	border-color: var(--brand-secondary);
}

.alert-info {
	color: var(--brand-primary);
	background-color: rgba(52, 73, 94, 0.05);
	border-color: var(--brand-light);
}

/* Table styling with VizCon brand headers */
.table thead th {
	background-color: var(--brand-primary);
	color: var(--text-light);
	border-color: var(--brand-light);
}

.table-striped>tbody>tr:nth-of-type(odd)>td {
	background-color: rgba(52, 73, 94, 0.02);
}

/* Tabs navigation with VizCon branding */
.nav-tabs .nav-link {
	color: var(--brand-primary);
	border: 1px solid transparent;
	font-weight: 500;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
	color: var(--brand-secondary);
	border-color: var(--brand-light);
	/* background-color: rgba(243, 156, 18, 0.05); */
}

.nav-tabs .nav-link.active {
	color: var(--text-light);
	background-color: var(--brand-primary);
	border-color: var(--brand-primary);
	font-weight: 600;
}

.nav-tabs {
	border-bottom: 1px solid var(--brand-light);
}

/* Modal styling with VizCon branding */
.modal-header {
	background-color: var(--brand-primary);
	color: var(--text-light);
	border-bottom: 1px solid var(--brand-light);
}

.modal-header .btn-close {
	filter: invert(1);
}

.modal-footer {
	border-top: 1px solid var(--brand-light);
}

/* Progress bars with VizCon branding */
.progress-bar {
	background-color: var(--brand-secondary);
}

/* Loading spinner with VizCon colors */
.spinner-border {
	color: var(--brand-secondary);
}

.spinner-grow {
	color: var(--brand-secondary);
}

/* Badge styling with VizCon colors */
.badge.bg-primary {
	background-color: var(--brand-primary) !important;
}

.badge.bg-secondary {
	background-color: var(--brand-secondary) !important;
}

/* Utility classes for VizCon branding */
.text-brand-primary {
	color: var(--brand-primary) !important;
}

.text-brand-secondary {
	color: var(--brand-secondary) !important;
}

.text-brand-light {
	color: var(--text-light) !important;
}

.text-brand-muted {
	color: var(--text-muted) !important;
}

.bg-brand-primary {
	background-color: var(--brand-primary) !important;
	color: var(--text-light) !important;
}

.bg-brand-secondary {
	background-color: var(--brand-secondary) !important;
	color: white !important;
}


/***** LOADER *****/
.loader {
	position: absolute;
	inset: 0rem;
	background-color: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(0.125rem);
	border-radius: 0rem;
	z-index: 2000;
}

.loader>div {
	align-items: center;
}

.spinner-border-xl {
	height: 10rem;
	width: 10rem;
}

/**** Notifier ****/
.notifier {
	position: absolute;
	width: 100%;
	z-index: 500;
}

.alert {
	min-width: 300px;
}

/***************** FORMS *****************/
.dropdown-item>.form-check-label {
	margin-left: 0.5em
}

.myform {
	border-color: #212529;
	border-radius: 5px;
	border-width: 1px;
	border-style: solid;
}


/******** NETWORK REACT FLOW ************/
/* .NetworkDiagramWrapper {
	height: 95%;
	width: 100%;
	padding-top : 20px;
} */

.react-flow__controls-button {
	width: 35px !important;
	height: 35px !important;
}

.react-flow__controls-button svg {
	width: 15px !important;
	height: 15px !important;
	max-width: 15px !important;
	max-height: 15px !important;
}

.react-flow__controls-button img {
	width: 25px !important;
	height: 25px !important;
}

.connectivities {
	background-color: #ffffff;
	border: 1px solid #945df2;
	height: 100%;
	width: 100%;
}

.connectivitiesTitle {
	height: 40px;
	margin-left: 20px;
	font-size: medium;
}

.vpc {
	background-image: url('../img/vpcmap/vpc.png');
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 50px;
	background-color: #ffffff;
	border: 1px solid #248814;
	height: 100%;
	width: 100%;
	transition: opacity 0.2s ease, box-shadow 0.2s ease;
}


.react-flow__node-vpc.selected .vpc {
	opacity: 0.9;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vpcTitle {
	height: 40px;
	margin-left: 60px;
	font-size: medium;
}

.availabilityZone {
	background-color: #ffffff;
	border: 1px dashed #147eba;
	height: 100%;
	width: 100%;
}

.availabilityZoneTitle {
	height: 40px;
	/* margin-left: 50px; */
	font-size: medium;
	text-align: center;
}

.subnetPublic {
	background-image: url('../img/vpcmap/vpc_subnet_public.png');
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 50px;
	background-color: #e9f3e6;
	border: none;
	height: 100%;
	width: 100%;
}

.subnetPrivate {
	background-image: url('../img/vpcmap/vpc_subnet_private.png');
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 50px;
	background-color: #e6f2f8;
	border: none;
	height: 100%;
	width: 100%;
}

.subnetPrivateWithInternet {
	background-image: url('../img/vpcmap/vpc_subnet_private.png');
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 50px;
	background-color: #e6f8f1;
	border: none;
	height: 100%;
	width: 100%;
}

.subnetTitle {
	height: 40px;
	margin-left: 60px;
	font-size: medium;
}

.networkInterface {
	background: transparent;
	border: none;
	height: 100%;
	width: 100%;
}

.elasticIP {
	color: blue;
}

.publicIP {
	color: black;
}

.secondaryIP {
	color: grey;
}

.resource {
	background: transparent;
	border: none;
	height: 100%;
	width: 100%;
}

.internetGatewayHeader {
	width: 100%;
}

.internetGatewayHeader>img {
	height: 40px;
	width: 40px;
	margin-top: -35px
}

.divCard {
	overflow: auto;
	font-size: 12px;
	border: none;
}

.divCard>.icon {
	width: 40px
}

/* .card-body {
	padding: 0.25rem;
} */

/******** PAGE STRUCTURE ************/
.pageContent {
	height: 100%;
	width: 100%;
}

.leftPanel {
	position: relative;
	max-width: fit-content;
}

.rightPanel {
	position: relative;
	padding: 0 0;
}

.topPanel {
	position: relative;
	padding-top: 10px;
}

/******* GRAPH *******/

.graphWrapper {
	position: relative;
	/* height: 100%; */
	width: 100%;
	background-color: #ffffff !important;
}

.graphContainer {
	height: 99%;
	width: 100%;
}

.vis-network>canvas {
	--dot-bg: white;
	--dot-color: rgb(188, 188, 188);
	--dot-size: 2px;
	--dot-space: 20px;
	background:
		linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
		linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
		var(--dot-color);
}

.controlPanel {
	position: absolute;
	z-index: 1000;
	background-color: white;
}

/**** ICONS ****/
.bi {
	font-size: large;
}

/******* CHORD DIAGRAM *******/
.svg-container {
	height: 100%;
	width: 100%;
}

.svg-content {
	height: 100%;
	width: 100%;
}

/********* 3D GRAPH *********/
/* .scene-nav-info, .scene-tooltip, .graph-info-msg {
	position : relative;
}

#globalNetworkGraph3D > div {
	position : relative;
} */


/******* PRICING *******/
/* ====== pricing css ====== */
.pricing-section {
	position: relative;
	z-index: 1;
}

@media (max-width: 767px) {
	.pricing-section.pt-120 {
		padding-top: 80px;
	}
}

@media (max-width: 767px) {
	.pricing-section.pb-120 {
		padding-bottom: 80px;
	}
}

.pricing-section .pricing-nav-wrapper ul {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.pricing-section .pricing-nav-wrapper ul li a {
	font-size: 18px;
	font-weight: 700;
	color: #5B657E;
	padding: 10px 30px;
	background: rgba(88, 100, 255, 0.1);
	margin: 5px;
	border-radius: 30px;
}

.pricing-section .pricing-nav-wrapper ul li a.active {
	color: #fff;
	background: #5864FF;
}

.pricing-section .single-pricing {
	border-radius: 40px;
	background: #fff;
	-webkit-box-shadow: 0px 0px 59px rgba(191, 191, 191, 0.16);
	box-shadow: 0px 0px 59px rgba(191, 191, 191, 0.16);
	padding: 45px 30px;
	margin-bottom: 30px;
}

.pricing-section .single-pricing .pricing-header {
	border-bottom: 1px solid #ddd;
	margin-bottom: 15px;
	text-align: center;
}

.pricing-section .single-pricing .pricing-header .price {
	font-size: 45px;
	margin-bottom: 30px;
	color: #5864FF;
}

.pricing-section .single-pricing .pricing-header .package-name {
	font-size: 25px;
	color: #162447
}

.pricing-section .single-pricing .content {
	margin-bottom: 30px;
}

@media only screen and (min-width: 1400px) {
	.pricing-section .single-pricing .content {
		padding-left: 50px;
	}
}

.pricing-section .single-pricing .content ul li {
	font-size: 18px;
	margin-bottom: 15px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.pricing-section .single-pricing .content ul li i {
	margin-right: 15px;
	color: rgba(22, 36, 71, 0.3);
	font-weight: 700;
}

.pricing-section .single-pricing .content ul li i.active {
	color: #5864FF;
}

.pricing-section .single-pricing .pricing-btn {
	text-align: center;
}

.pricing-section .single-pricing .pricing-btn .main-btn {
	padding: 12px 45px;
	font-weight: 400;
}

.pricing-section .single-pricing .pricing-btn .main-btn.border-btn {
	color: #5B657E;
}

.pricing-section .single-pricing .pricing-btn .main-btn.border-btn::after {
	background: rgba(88, 100, 255, 0.1);
}