/*
	Theme Name: Recuperacao Judicial
	Theme URI: https://atitudejuridica.com.br/
	Description: Atitudejur
	Version: 1.0
	Tags: site
	Author: AtitudeJur
*/


/* FONTS */
@font-face {
    font-family: 'Poppins';
    src: url('../../fonts/Poppins-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../../fonts/Poppins-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../../fonts/Poppins-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('../../fonts/SegoeUI.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('../../fonts/SegoeUI-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


/* RESET */
html{
	scroll-behavior: smooth;
}

/* RESET */
html{
	scroll-behavior: smooth;
}

body{
	font-family: "Poppins";
	font-weight: normal;
	color: #444;
	background: #fff;
}

@media (max-width: 576px){
	body{
		font-size: 13px;
		line-height: 23px;
	}
}

@media (min-width: 576px) and (max-width: 1200px){
	body{
		font-size: 14px;
		line-height: 24px;
	}
}

@media (min-width: 1200px){
	body{
		font-size: 16px;
		line-height: 26px;
	}
}


*{
    outline: none;
}



/* Estiliza todas as barras de rolagem no site */
* {
    scrollbar-width: thin; /* Para Firefox */
    scrollbar-color: #158a38 #eee; /* thumb e track */
}

/* Para navegadores baseados em WebKit (Chrome, Edge, Safari) */
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-thumb {
    background: #158a38; 
    border-radius: 5px;
}

*::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 5px;
}

/* Para compatibilidade com Internet Explorer */
* {
    scrollbar-face-color: #158a38;
    scrollbar-track-color: #eee;
}


h1, h2, h3, h4, h5, h6{
	font-family: "Segoe UI";
	color: #158a38;
}




/* LOGIN */
.layout .bg-white{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem 1rem;
	background: url(../imagens/bg-cinza.svg) no-repeat center;
	background-size: cover;
}

.layout .bg-white > .flex:nth-of-type(1){
	gap: 0;
	margin: 0;
	background: url(../imagens/logo-recuperajur.svg) no-repeat center;
	background-size: 100% auto;
	width: 100%;
	max-width: 300px;
	height: 150px;
}

.layout .bg-white > .flex:nth-of-type(1) .flex.flex-col,
.layout .bg-white > .flex:nth-of-type(1) img{
	display: none;
}

.layout .bg-white > .flex:nth-of-type(2){
	width: 100%;
	padding: 0 0 1.5rem 0;
	margin-top: 2rem;
}

.layout .bg-white > .flex:nth-of-type(2) > h2{
	position: relative;
	background: #e8823d;
	border-radius: 12px 12px 0 0;
	padding: 0 1rem;
	width: 100%;
	max-width: 320px;
	text-align: center;
	line-height: 54px;
	color: #fff;
}

.layout .bg-white > .flex:nth-of-type(2) > h2::after{
	content: "";
    display: block;
    position: absolute;
    z-index: 20;
    bottom: -10px;
    left: calc(50% - 10px);
    border-top: 10px solid #e8823d;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.layout .bg-white > .flex:nth-of-type(2) > p.text-red-500{
	width: 100%;
	max-width: 320px;
	background: #ef4444;
	color: #FFF;
	text-align: center;
	padding: .5rem;
	margin-top: 0;
	border: 1rem solid #FFF;
}

.layout .bg-white > .flex:nth-of-type(2) > div.mt-4{
	margin: 0;
	padding: .35rem 1rem;
	max-width: 320px;
	background: #fff;
}

.layout .bg-white > .flex:nth-of-type(2) > div.mt-4:nth-of-type(1){
	padding-top: 2rem;
}

.layout .bg-white > .flex:nth-of-type(2) > div.mt-4:nth-of-type(3){
	position: relative;
}

.layout .bg-white > .flex:nth-of-type(2) > div.mt-4:nth-of-type(3)::after{
	content: '';
	display: block;
	width: 100%;
	height: 90px;
	background: #FFF;
	border-radius: 0 0 12px 12px;
	position: absolute;
	z-index: 0;
	left: 0;
	top: 100%;
}


.layout .bg-white > .flex:nth-of-type(2) .input-wrapper{
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 0 .75rem;
	height: 52px;
}

.layout .bg-white > .flex:nth-of-type(2) button.bg-background{
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 0 .75rem 0 47px;
	height: 52px;
	background: url(../imagens/icon-pin.svg) no-repeat .75rem center;
	background-size: auto 22px;
}

.layout .bg-white > .flex:nth-of-type(2) button:not(.bg-background){
	width: calc(100% - 2rem);
	max-width: calc(320px - 2rem);
	position: relative;
	border-radius: 8px;
}

@media (max-width: 360px){
	.layout .bg-white > .flex:nth-of-type(2) > h2,
	.layout .bg-white > .flex:nth-of-type(2) > div.mt-4{
		max-width: 280px;
	}

	.layout .bg-white > .flex:nth-of-type(2) button:not(.bg-background){
		max-width: calc(280px - 2rem);
	}
}

.group-action:hover .actions {
	opacity: 1;
}

/* SIDEBAR */
.text-sidebar-foreground .bg-sidebar{
	background: url(../imagens/bg-cinza-escuro.svg) no-repeat center;
	background-size: cover;
}

.text-sidebar-foreground[data-state="expanded"] .bg-sidebar div[data-sidebar="header"] ul li a > *{
	display: none;
}

.text-sidebar-foreground[data-state="expanded"] .bg-sidebar div[data-sidebar="header"] ul li a{
	background: url(../imagens/logo-recuperajur.svg) no-repeat center;
	background-size: auto 50px;
	width: 100%;
	height: 50px;
}

.text-sidebar-foreground .bg-sidebar div[data-sidebar="header"]{
	background: rgba(255, 255, 255, 0.2);
}

.text-sidebar-foreground .bg-sidebar div[data-sidebar="content"]{
	padding: .5rem;
}

.text-sidebar-foreground[data-state="collapsed"] .bg-sidebar div[data-sidebar="content"] ul > h5{
	display: none;
}

.text-sidebar-foreground .bg-sidebar div[data-sidebar="footer"]{
	background: rgba(232, 130, 61, 0.6);
}

.text-sidebar-foreground .bg-sidebar div[data-sidebar="footer"] button{
	background: rgba(255, 255, 255, 0.3);
}

.text-sidebar-foreground .bg-sidebar div[data-sidebar="footer"] button:hover{
	background: rgba(255, 255, 255, 0.8);
}
/* 
.bg-popover.text-popover-foreground{
	padding: 1rem;
} */

@media (max-width: 768px){
	.text-sidebar-foreground.bg-sidebar[data-sidebar="sidebar"]{
		background: url(../imagens/bg-cinza.svg) no-repeat center #FFF;
		background-size: cover;
	}

	.text-sidebar-foreground.bg-sidebar[data-sidebar="sidebar"] div[data-sidebar="header"] ul li a > *{
		display: none;
	}
	.text-sidebar-foreground.bg-sidebar[data-sidebar="sidebar"] div[data-sidebar="header"] ul li a{
		background: url(../imagens/logo-recuperajur.svg) no-repeat center;
		background-size: auto 50px;
		width: 100%;
		height: 50px;
	}

	.text-sidebar-foreground.bg-sidebar[data-sidebar="sidebar"] div[data-sidebar="content"]{
		padding: .5rem;
	}

	.text-sidebar-foreground.bg-sidebar[data-sidebar="sidebar"] div[data-sidebar="footer"]{
		background: rgba(232, 130, 61, 0.6);
	}

	.text-sidebar-foreground.bg-sidebar[data-sidebar="sidebar"] div[data-sidebar="footer"] button{
		background: rgba(255, 255, 255, 0.3);
	}

	.text-sidebar-foreground.bg-sidebar[data-sidebar="sidebar"] div[data-sidebar="footer"] button:hover{
		background: rgba(255, 255, 255, 0.8);
	}
}



/* DASHBOARD */
main.bg-background{
	background-size: cover !important;
}

main.bg-background > header{
	position: absolute;
	left: 0;
	top: 0;
}

/* main.bg-background > header > div > *:not(button){
	display: none;
} */

main.bg-background h1{
	display: flex;
	flex-direction: column;
}

main.bg-background h1::after{
	content: '';
    display: block;
    background: url(../imagens/bar-title-01.svg) no-repeat;
    background-size: 100% 100% !important;
}

main.bg-background main section.bg-gray-50{
	background: none;
}

main.bg-background main section.bg-gray-50 > div .flex.border-b.border-gray-300 button:first-child{
	border-radius: 8px 0px 0px 0px;
}

main.bg-background main section.bg-gray-50 > div .flex.border-b.border-gray-300 button:last-child{
	border-radius: 0px 8px 0px 0px;
}

main.bg-background main section.bg-gray-50 > div .flex.border-b.border-gray-300 .text-green-700{
	background: #158a38;
	color: #FFF;
}

main.bg-background main section.bg-gray-50 > div .flex.border-b.border-gray-300 .text-gray-600{
	background: #d5d5d5;
}

main.bg-background main section.bg-gray-50 > div .mx-auto.max-w-screen .w-auto.flex.flex-col .relative > button.bg-white{
	background: #158a38;
	color: #FFF;
	border: none;
	box-shadow: none;
}

main.bg-background main section.bg-gray-50 > div .mx-auto.max-w-screen .w-auto.flex.flex-col .relative > button.bg-white span{
	color: #FFF;
}

/* main.bg-background main section.bg-gray-50 table thead{
	background: #4b5563;
}

main.bg-background main section.bg-gray-50 table thead:hover{
	background: #4b5563 !important;
}

main.bg-background main section.bg-gray-50 table thead th{
	color: #FFF;
}

main.bg-background main section.bg-gray-50 table thead th:hover{
	background: #4b5563 !important;
}

main.bg-background main section.bg-gray-50 table tbody tr:nth-child(odd){
	background: #f9f9f9;
}

main.bg-background main section.bg-gray-50 table tbody tr:hover{
	background: rgba(21, 138, 56, 0.1);
} */

main.bg-background main section.bg-gray-50 table tbody tr .relative.group .absolute.z-10.hidden{
	background: #158a38;
	color: #FFF;
}


@media (max-width: 768px){
	main.bg-background{
		background: url(../imagens/bg-cinza-mobile.svg) no-repeat center;
	}

	main.bg-background h1{
		align-items: center;
		margin-bottom: 1.5rem;
	}

	main.bg-background h1::after{
		margin-top: .5rem;
	    width: 150px;
	    height: 4px;
	}

	main.bg-background main section.bg-gray-50 .p-4.mt-2.flex.items-center{
		flex-direction: column;
	}

	main.bg-background main section.bg-gray-50 .p-4.mt-2.flex.items-center > .text-right{
		width: 100%;
		text-align: center;
		padding-top: 1rem;
		white-space: nowrap;
	}
}

@media (min-width: 768px){
	main.bg-background{
		background: url(../imagens/bg-cinza.svg) no-repeat center;
	}

	main.bg-background h1{
		margin-bottom: 1.5rem;
		padding-left: 50px;
	}

	main.bg-background h1::after{
		margin-top: .75rem;
	    width: 170px;
	    height: 5px;
	}
}



/* CARDS */
.bg-card.text-card-foreground > div.flex{
	position: relative;
}

/* .bg-card.text-card-foreground > div.flex > div.flex{
	position: absolute;
	right: 1.5rem;
	top: 1.5rem;
} */

.bg-card.text-card-foreground > div.flex > div[role="heading"],
.bg-card.text-card-foreground > div.flex > p{
	width: calc(100% - 47px);
}

.bg-card.text-card-foreground > div.flex > div[role="heading"]{
	color: #158a38;
}

.bg-card.text-card-foreground > .p-6.space-y-2 > p,
.bg-card.text-card-foreground > .p-6.space-y-2 > div{
	padding: .5rem 0;
	margin: 0;
	border-bottom: 1px solid #eee;
}

.bg-card.text-card-foreground > .p-6.space-y-2 > p:last-child{
	border-bottom: none;
}


/* DETAILS */
main.bg-background main section.bg-gray-50 .text-zinc-600 .border-zinc-300:first-child{
	background: #EEE;
}

main.bg-background main section.bg-gray-50 .text-zinc-600 .border-zinc-300 > .grid > .flex{
	padding: .5rem;
	border: 1px solid #EEE;
	border-radius: 6px;
}

main.bg-background main section.bg-gray-50 .text-zinc-600 .bg-grey-400 .mt-5 .border.rounded-lg{
	overflow: hidden;
}



@media (max-width: 992px){
	main.bg-background main section.bg-gray-50 .text-zinc-600 .border-zinc-300 > .grid{
		display: block;
	}

	main.bg-background main section.bg-gray-50 .text-zinc-600 .border-zinc-300 > .grid > .flex{
		margin-bottom: .5rem;
	}

	.bg-card.text-card-foreground > div.flex > div[role="heading"]{
		font-size: 16px;
	}
}

@media (min-width: 992px){
	.bg-card.text-card-foreground > div.flex > div[role="heading"]{
		font-size: 22px;
	}
}



/* TOASTER */
.toaster.group li[data-type="success"]{
	background: #158a38;
	color: #FFF;
}

.toaster.group li[data-type="error"]{
	background: #ef4444;
	color: #FFF;
}