:root {
	--theme-font: "Inter", sans-serif;
	--theme-font-two: "Inter", sans-serif;
	--theme-font-three: "Inter", sans-serif;
	--theme-font-four: "Inter", sans-serif;
	--theme-gray: #576070;
	--theme-gray-rgb: 87, 96, 112;
	--theme-white: #ffffff;
	--theme-white-rgb: 255, 255, 255;
	--theme-base: #066CCB;
	--theme-base-rgb: 6, 108, 203;
	--theme-black: #222E48;
	--theme-black-rgb: 34, 46, 72;
	--theme-primary: rgb(175, 184, 188);
	--theme-bdr-color: #e0dcd3;
}

/* Header Dashboard */
.webc-pdf-header {
	background: #F3F9FF;
	height: 100px;
}

.webc-pdf-header__inner {
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 26px 37px;
}

.webc-pdf-header__logo img {
	width: 286px;
	height: 48px;
	object-fit: contain;
}

.webc-pdf-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.webc-pdf-header__user-info {
	background: #FFFFFF;
	border: 1px solid #EBECEF;
	border-radius: 26px;
	padding: 12px 18px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: #404A60;
}

.webc-pdf-header__user-info a span {
	color: #404A60;
	font-family: var(--theme-font);
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0px;
	vertical-align: middle;
	text-decoration: none;
}

.webc-pdf-header__user-info a:hover {
	text-decoration: none;
}

.webc-pdf-header__user-info img {
	width: 19.5px;
	height: 19.5px;
}

.webc-pdf-header__logout {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: #798090;
	text-decoration: none;
	transition: color 0.3s ease;
}

.webc-pdf-header__logout:hover {
	color: #222E48;
}

.webc-pdf-browser {
	padding-top: 95px;
	padding-bottom: 90px; /* Para evitar que el content final pise el footer-new absolute */
	font-family: var(--theme-font);
	background-color: #F3F9FF;
	position: relative;
	overflow: hidden;
}

.webc-container {
	max-width: 1288px;
	margin: 0 auto;
	padding: 0;
}

/* Titulo Principal */
.webc-pdf-browser__title {
	font-family: var(--theme-font);
	font-weight: 700;
	font-size: 64px;
	line-height: 100%;
	color: #222E48;
	margin-top: 0;
	margin-bottom: 40px;
	vertical-align: middle;
	letter-spacing: 0%;
}

.webc-pdf-browser__title span {
	color: #066CCB;
}

/* Breadcrumb */
.webc-pdf-browser__breadcrumb {
	margin-bottom: 40px;
}

.webc-pdf-browser__breadcrumb ol {
	display: flex;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.webc-pdf-browser__breadcrumb li {
	display: flex;
	align-items: center;
	font-family: var(--theme-font);
	font-weight: 500;
	font-size: 20px;
	line-height: 24px;
	color: #89BDED;
	vertical-align: middle;
	white-space: nowrap;
}

.webc-pdf-browser__breadcrumb li:not(:last-child)::after {
	content: '<';
	margin: 0 10px;
	color: #89BDED;
}

.webc-pdf-browser__breadcrumb li a {
	color: #89BDED;
	text-decoration: none;
}

.webc-pdf-browser__breadcrumb li a img {
	width: 24px;
	margin-right: 0px;
	vertical-align: middle;
	margin-top: -4px;
}

.webc-pdf-browser__breadcrumb li.is-active span {
	color: #066CCB;
}

/* Layout */
.webc-pdf-layout {
	display: flex;
	flex-direction: column;
}

@media (min-width: 1280px) {
	.webc-pdf-layout {
		flex-direction: row;
		justify-content: space-between;
	}
}

/* Sidebar */
.webc-pdf-sidebar {
	width: 100%;
	background: transparent;
	border: 1px solid #EBECEF;
	padding: 10px;
	height: auto;
	margin: auto;
	border-radius: 12px;
}

@media (min-width: 1280px) {
	.webc-pdf-sidebar {
		width: 100%;
		max-width: 418px;
		height: 830px;
	}
}

.webc-pdf-sidebar__inner {
	background: #FFFFFF;
	padding: 37px 24px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 12px;
}


.webc-pdf-sidebar__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 25px;
	margin-bottom: 25px;
	border-bottom: 1px solid #DFE0E4;
}

.webc-pdf-sidebar__label {
	font-weight: 400;
	font-size: 18px;
	line-height: 27px;
	color: #222E48B2;
}

.webc-pdf-sidebar__value {
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	color: #222E48;
}

.webc-pdf-sidebar__button {
	display: block;
	width: 100%;
	padding: 19px 5px;
	border: 1px solid #066CCB;
	border-radius: 800px;
	text-align: center;
	text-transform: capitalize;
	font-weight: 600;
	font-size: 16px;
	line-height: 16px;
	color: #066CCB;
	text-decoration: none;
	margin-top: 40px;
	transition: all 0.3s ease;
}

.webc-pdf-sidebar__button:hover {
	background: #066CCB;
	color: #FFFFFF;
	text-decoration: none;
}

.webc-pdf-sidebar__button:hover .webc-pdf-sidebar__button-icon {
	filter: brightness(0) invert(1);
}

.webc-pdf-sidebar__button-icon {
	width: 16px;
	height: 16px;
	margin-right: 16px;
	vertical-align: middle;
	margin-top: -3px;
}

/* Main Grid */
.webc-pdf-main {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	z-index: 1;
}

@media (max-width: 1279px) {
	.webc-pdf-main {
		margin-top: 60px;
	}
}

.webc-pdf-browser__grid {
	display: flex;
	gap: 16px;
	padding: 0 10px;
	flex-wrap: wrap;
}

.webc-pdf-browser__section-title {
	width: 100%;
	font-family: var(--theme-font);
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
	color: #222E48;
	margin: 40px 0 20px;
}

.webc-pdf-browser__grid.is-files {
	grid-template-columns: repeat(auto-fill, minmax(302px, 1fr));
}

/* Card Folder */
.webc-pdf-card--folder {
	width: 100%;
	max-width: 272px;
	background: #FFFFFF;
	border-radius: 12px;
	padding: 20px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: all 0.3s ease;
}

.webc-pdf-card__image-wrapper {
	position: relative;
	width: 100%;
	height: 216px;
	margin-bottom: 30px;
}

.webc-pdf-card__image {
	width: 100%;
	height: 216px;
	object-fit: contain;
	margin-bottom: 31px;
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.3s ease;
}

.webc-pdf-card__image.default {
	opacity: 1;
	z-index: 1;
}

.webc-pdf-card__image.hover {
	opacity: 0;
	z-index: 2;
}

.webc-pdf-card--folder:hover .webc-pdf-card__image.default {
	opacity: 0;
}

.webc-pdf-card--folder:hover .webc-pdf-card__image.hover {
	opacity: 1;
}

.webc-pdf-card__title {
	font-weight: 700;
	font-size: 24px;
	line-height: 28.8px;
	color: #222E48;
	text-align: left;
	width: 100%;
	transition: color 0.3s ease;
}

.webc-pdf-card--folder:hover,
.webc-pdf-card--folder:active {
	text-decoration: none !important;
}

.webc-pdf-card--folder:hover .webc-pdf-card__title {
	color: #066CCB;
	text-decoration: none !important;
}

.webc-pdf-footer-new {
	width: 100%;
	background: transparent;
	height: 90px;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 20;
}

.webc-pdf-footer-new .webc-container {
	border-top: 1px dashed #C5E2FD;
}

.webc-pdf-footer-new__inner {
	height: 90px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.webc-pdf-footer-new__links {
	display: flex;
	gap: 24px;
}

.webc-pdf-footer-new__links a {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #404A60;
	text-decoration: none;
	transition: color 0.3s ease;
}

.webc-pdf-footer-new__links a:hover {
	color: #222E48;
}

/* Card File */
.webc-pdf-card--file {
	width: 100%;
	max-width: 302px;
	background: transparent;
	border: 1px solid #066CCB26;
	border-radius: 11.87px;
	padding: 28px 32px;
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: all 0.3s ease;
}

.webc-pdf-card--file:hover,
.webc-pdf-card--file:active {
	background: #FFFFFF;
	border-color: #066CCB;
	text-decoration: none !important;
}

.webc-pdf-card--file .webc-pdf-card__image-container {
	width: 80px;
	height: 80px;
	margin-bottom: 31px;
	position: relative;
}

.webc-pdf-card--file .webc-pdf-card__image {
	width: 80px;
	height: 80px;
	margin-bottom: 0;
	transition: all 0.3s ease-in-out;
}

.webc-pdf-card--file .webc-pdf-card__image.hover {
	transition: all 0.3s ease-in-out;
	opacity: 0;
}

.webc-pdf-card--file:hover .webc-pdf-card__image.default,
.webc-pdf-card--file:active .webc-pdf-card__image.default {
	transition: all 0.3s ease-in-out;
	opacity: 0;
}

.webc-pdf-card--file:hover .webc-pdf-card__image.hover,
.webc-pdf-card--file:active .webc-pdf-card__image.hover {
	opacity: 1;
}

.webc-pdf-card--file .webc-pdf-card__title {
	font-weight: 500;
	font-size: 18px;
	line-height: 1.3;
	text-align: center;
}

.webc-pdf-card--file:hover .webc-pdf-card__title,
.webc-pdf-card--file:active .webc-pdf-card__title {
	color: #066CCB;
	text-decoration: none;
}


/* Pagination */
.webc-pdf-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 40px;
}

.webc-pdf-pagination__link {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #FFFFFF;
	border: 1px solid #EBECEF;
	border-radius: 50%;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: #222E48;
	transition: all 0.3s ease;
}

.webc-pdf-pagination__link:hover {
	border-color: #066CCB;
	color: #066CCB;
}

.webc-pdf-pagination span {
	font-weight: 600;
	font-size: 16px;
	color: #222E48;
}

/* Footer Icons */
.webc-pdf-footer {
	margin-top: 45px;
	padding-bottom: 30px;
	display: flex;
	justify-content: start;
	gap: 24px;
}

.webc-pdf-social-icon {
	width: 24px;
	height: 24px;
}

.webc-pdf-social-icon img {
	width: 100%;
	height: 100%;
	display: block;
}

.webc-pdf-browser__capa-fondo {
	position: absolute;
	bottom: -185px;
	right: -121px;
	width: auto;
	height: auto;
	z-index: 0;
}

.webc-container {
	max-width: 1288px;
	margin: 0 auto;
	padding: 0 20px; /* Padding responsive */
}

@media (min-width: 1290px) {
	.webc-container {
		padding: 0; /* Sin padding en escritorio */
	}
}

/* Centrado en movil */
@media (max-width: 1280px) {
	.webc-pdf-browser__grid {
		justify-content: center;
	}
	
	.webc-pdf-footer {
		justify-content: center;
	}

	.webc-pdf-footer-new__inner {
		justify-content: center;
	}

	.webc-pdf-header {
		height: auto;
		padding: 10px;
	}

	.webc-pdf-header__inner {
		flex-direction: column;
		height: auto;
		gap: 20px;
		padding: 20px;
	}

	.webc-pdf-browser__title{
		text-align: center;
	}
}

@media (max-width: 991px) {
	.webc-pdf-browser__title {
		font-size: 48px;
		text-align: center;
	}
}

@media (max-width: 767px) {
	.webc-pdf-browser__title {
		font-size: 32px;
	}
	
	.webc-pdf-browser__grid {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.webc-pdf-header__actions {
		flex-direction: column;
		width: 100%;
	}

	.webc-pdf-header__user-info {
		width: 100%;
		justify-content: center;
	}
}

/* card Folder Internal */

.webc-pdf-browser.is-internal .webc-container .webc-pdf-layout .webc-pdf-main .webc-pdf-browser__grid.is-folders .webc-pdf-card--folder {
	max-width: 305px;
}

.webc-pdf-browser.is-internal .webc-container .webc-pdf-layout .webc-pdf-main .webc-pdf-browser__grid.is-folders .webc-pdf-card--file {
	justify-content: center;
}