@import 'views/login-view.css';
@import 'components/sideNav.css';
@import 'components/datePicker.css';
@import 'components/grid.css';
@import 'components/toolbar.css';
@import 'components/form.css';
@import 'components/card.css';
@import 'components/vaadin-button.css';
@import 'components/actionToolBar.css';
@import 'views/actionView.css';

:root{
    --theme-color : #e95d19;
}

@media all and (max-width: 1100px) {

	.list-view.editing .toolbar,
	.list-view.editing .contact-grid {
		display: none;
	}

	.list-view {
        padding: 0px !important;
    }
}
@media all and (min-width: 1100px) {

    .drawerFilterMobile{
        display : none;
    }
}
html {
	--lumo-primary-color: var(--theme-color);
	--lumo-secondary-color: var(--theme-color);
	--lumo-tertiary-color: var(--theme-color);
	--lumo-primary-text-color: var(--theme-color);
	--lumo-font-size-m : 12pt;

    --vaadin-app-layout-drawer-width : 14em;

    /*COULEURS */
    --heading-text : #252526;
    --body-text : #323233;
    --secondary-text:#696969;
    --tertiary-text:#8d8d8e;
    --app-background-color : #f4f5f7;
    --border-color : #b4b4b4;
    --text-input-color: #fff;
    --custom-text-field-background: transparent;

    /*--error-text-color:#ca150c;*/

}

.actionLayout{
    --header-color : #f4f5f7;
    --lumo-contrast-5pct: #f4f5f7;

    vaadin-crud::part(toolbar){
        background-color: #fff;
        border-left:none;
        border-right:none;
        border-bottom:none;
    }

    .list-view{
        height:93% !important;
    }
}

.actionLayout::part(navbar) {
     display:contents !important;
 }

.mainLayout{
    --header-color : black;
}

a[highlight] {
	font-weight: bold;
	text-decoration: underline;
}

vaadin-app-layout{
    background-color : var(--app-background-color);
}

.innerAppLayout{
    background-color : white;
    border-radius: 15px;
}


.align-right {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: end;

}

.hide{
    display: none;
}

.integer-filter{
    width: 120px;
    margin-right: -10px;
}

vaadin-combo-box-item{
    justify-content : center;
}


.appHeader{
    display: flex;
    justify-content: space-between;
}

.drawerFilterMobile{
    position: absolute;
    width: 100%;
    background-color: white;
    z-index: 2;
    bottom : 0;
    box-shadow: var(--lumo-box-shadow-xl);

}

.subSection > vaadin-details-summary{
    margin-left : 20px;
}

.text-wrap{
    text-wrap : wrap;
}

.errorMessage{
    color : #ca150c;
    font-size: 11pt;
    font-weight : normal;
}

.languageSelectHeader{
    width : 100px;
    vaadin-select-value-button{
        color : var(--theme-color);
        /*padding-bottom : 5px;*/
    }
}

.languageSelectHeader::part(toggle-button),.languageSelectHeader > [slot="prefix"]{
   color : var(--theme-color);
}

vaadin-text-field[disabled]{
    input,label{
        -webkit-text-fill-color:var(--lumo-contrast-60pct);
    }
}

.dashboard-view{
    padding : 0;
    gap : 0;
}

.appHeaderLayout{
    vaadin-button, vaadin-select::part(input-field) {
        background : none;
    }
}


.custom-notification::part(content),.custom-notification::part(overlay){
    background-color : red;
    color : white;
    border-radius : 15px;
}



.menuActionBarItems{
    padding: 0px;
}

.menuActionBarItems:hover{
    background-color: var(--app-background-color);
}

.menuActionBarItems > vaadin-button {
  width : 100%;
  display : grid;
  justify-content : start;

}
.menuActionBarItems > file-download-wrapper > a > vaadin-button{
    justify-content : start;
}
.menuActionBarItems > file-download-wrapper > a:hover {
    text-decoration : none;
}
.menuActionBarItems > file-download-wrapper > a > vaadin-button,.menuActionBarItems > file-download-wrapper{
  width : 100%;
  display : grid;
  margin : 0px;
}

.menuActionBarItems > vaadin-button:hover {
    background-color : none;
}
.menuActionBarItems::part(checkmark){
    display:none;
}


.actionViewMainLayout{
    padding:0;
    margin:0;
    gap:0;
    background-color:#f4f5f7;
    height:100%;
}

.buttonsLayout{
    background-color: #FFF;
    box-shadow:  0 2px 4px rgba(0, 0, 0, 0.2);;
    border-radius: 25px;
}

.bottomToolBar{
   display:flex;
   align-items:center;
   justify-content:space-between;
}

.actionbtn{
    padding: 0
}

.saveBtn{
    color:#FFF;
    background-color: var(--theme-color);
    border: solid 1px var(--theme-color );
}

.cancelBtn{
    color:var(--theme-color);
    background-color: #FFF;
    border: solid 1px rgba(58, 58, 60, 0.16);
}

vaadin-grid::part(scanned-row) {
    background-color:rgba(4, 184, 124, 0.10);
}

.rowGrid{
    padding : 15px;
    vaadin-grid{
        border-radius : 20px;
        border: none;
    }

}

.dialogUpload h3{
    color : red;
    font-size : 12pt;
}

.dashboard-filter{
    align-self : flex-start;
    margin-left : 20px;
    margin-top : 20px;

    h2{
        color: var(--secondary-text);
        margin-top: 10px;
        font-size: 12pt;
    }

    vaadin-multi-select-combo-box::part(input-field){
        background : white;
    }
}

.sectionHeader{
    padding-top: 10px;
    padding-bottom : 0px;

    vaadin-vertical-layout {
        gap : 0;
    }
}
.sectionHeader span:first-of-type {
  font-size: 12pt;
  color : var(--secondary-text);
}
.dashboardDate{
    background-color : white;
    border-radius: var(--lumo-border-radius-s);
    height: 32px;
}