/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    Created on : 31 Aug 2026, 16:09:41
    Author     : Matheus.Aquiles
*/


element.style {
}
#wrapper #content-wrapper {
    background-color: #f8f9fc;
    width: 100%;
    overflow-x: hidden;
}
.flex-column {
    flex-direction: column !important;
}
.d-flex {
    display: flex !important;
}
*, ::after, ::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #858796;
    text-align: left;
    background-color: #fff;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
:root {
    --blue: #4e73df;
    --blueGradient: linear-gradient(90deg,rgba(148, 187, 223, 1) 0%, rgba(78, 115, 223, 1) 50%, rgba(148, 187, 223, 1) 100%);
    --indigo: #6610f2;
    --blueSoftBorder: rgba(202, 228, 255, 0.3);
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #e74a3b;
    --orange: #fd7e14;
    --yellow: #f6c23e;
    --green: #1cc88a;
    --teal: #20c9a6;
    --cyan: #36b9cc;
    --white: #fff;
    --gray: #858796;
    --gray-dark: #5a5c69;
    --primary: #4e73df;
    --secondary: #858796;
    --success: #1cc88a;
    --info: #36b9cc;
    --warning: #f6c23e;
    --danger: #e74a3b;
    --light: #f8f9fc;
    --dark: #5a5c69;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --main-background: #f8f9fc;
}
/* ==========================================
/*Header Properties 
 ==========================================*/
.container-header {
    display: flex;
    height: 5vh;
    width: auto;
    max-width: 100vw;
    background: var(--blueGradient);
}

header {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 0 20px;
    
   
        
}
/*For future use - Better scale when notifications, avatar, user menus & configs are implemented*/
.header-actions {
    display: flex;
    gap: 20px;
}


.notification {
    margin-left: 20px;
    color: white;
}

.user-profile {
    margin-left: 20px;
    color: white;
}


.fixed-title {
    width: 7%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    width: 40%;
    min-width: 50px;
    max-width: 80px;
    aspect-ratio: 1/1;
    background-image: url("../img/DwemerWorks-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ==========================================
/*Nav Properties 
========================================== */
.container-main-nav {
    display: flex;
    flex: 1;
}

nav {
    width: 10%;
    padding: 2% 0 0 0%;
    
    background: RGBA(148, 187, 223,1);
    background: linear-gradient(188deg,rgba(148, 187, 223, 1) 0%, rgba(78, 115, 223, 1) 50%);

    margin-top: 0;
    border: none;

    display: flex;
    flex-direction: column;
    
    position: sticky;
}

nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.nav-ul-items {
    padding: 12px 0;
    cursor: pointer;
    transition: 0.3s;
}

.nav-ul-items:hover {
    background-color: rgba(255,255,255,0.1);
    padding-left: 10px;
}
.nav-ul-items li {
    margin-bottom: 5px;
}

.nav-ul-items  a{
    display: block;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all .2s ease;
}

.nav-ul-items a:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateX(5px);
}


/* ==========================================
/*Main Properties 
========================================== */
main {
    /*border: 2px dotted black;*/
    width: 90%;
    background-color: var(--main-background);
    padding-left: 2%;
 
}

.mainPage{
    padding: 0;
    max-width: 98%;
}

.mainHeader{
    width: 100%;
    margin: 0 0 0.8% 0;
    border: 1px solid var(--main-background);
    border-radius: 4px;
}

.mainContainer{
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: var(--white);
}

.subMainHeader{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin-right: 1.5%;
    margin-bottom: 0.2%;
}
/* ==========================================
   INDEX - DASHBOARD
   ========================================== */
.chartContainer{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.assetCharts{
    width:100%;
    min-width:0;
    overflow:hidden;

    padding:15px;
    background:#fff;
    border:1px solid #e3e6f0;
    border-radius:8px;
}

.assetsStats{
    margin-top: 20px;

    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:15px;
}

.statsSubcontainer{
    background:#fff;
    border:1px solid #e3e6f0;
    border-radius:8px;

    min-height:90px;
    padding:15px;

    display:flex;
    align-items:center;
}

.statsIcon{
    width:48px;
    height:48px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#E8F0FF;
    border-radius:8px;
    flex-shrink:0;
}

.statsCaption{
    flex:1;
    margin-left:12px;

    font-size:0.8rem;
    font-weight:600;
    color:#858796;
}

.statsCaption p{
    margin:0;
}

.figures{
    font-size:1.2rem;
    font-weight:700;
    color:#4e73df;

    display:flex;
    align-items:center;
    justify-content:center;
}

#netValueFigures{
    font-size:1rem;
}

.statsIcon svg{
    display:block;
}

#totalAssets{
    border-left-color: pink;
    border-left-width: 2px;
}

#repairAssets{
    border-left-color: #f6c23e;
    border-left-width: 2px;
}

#availableAssets{
    border-left-color: #1cc88a;
    border-left-width: 2px;
}

#netValueAssets{
    border-left-color: red;
    border-left-width: 2px;
}
    


/* ==========================================
   PAGE: ADD ASSET
   ========================================== */

.mainPage .generalInfo, .OwnerLocation, .warranty, .financial, .repair{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

fieldset{
    margin: 1vh;
    border-radius: 10px;
    border: 2px groove  var(--blueSoftBorder);
}

.formLegends {
    font-size: 1.3rem;
    font-weight: 700;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
 
}

.formButtons {
    grid-column: 1 / -1;
    padding-left: 1%;
}

.mainPage input, select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.headerUl{
   list-style: none;
   display:flex;
   align-items: center;
   gap: 2%;
   padding: 0;
 }
 .headerUl  a{
    display: block;
    padding: 0 0;
    color: #858796;
    text-decoration: none;
    border-radius: 8px;
    transition: all .2s ease-out;
}

.headerUl li a:hover {
    font-weight: 700;  
    color: var(--blue);
}

.assetContainer {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: var(--white);
    
}

.notes, .technicianNotes {
    height: 100px;
    border-radius: 4px;
    border: 1px solid #ccc;
     
}

.tabcontent{
    display:none;
}
 
#generalTab{
    display:block;
}

.btnAddNewAsset, .buttonExport{
    background-color: var(--blue);
    color: white;
    border: none;
    padding: 0;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    width: 7vw;
    height: 4vh;
}

.buttonExport {
    background-color: var(--gray-dark) !important;
    margin-left: 64%;
}


/* ==========================================
   PAGE: ASSET REGISTER
   ========================================== */
.searchNav {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 1%;
}

.searchNav label{
    font-weight: 700;
}

.allAssets{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.searchNavElement{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.searchNav input, select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.allAssets th{
    width: calc(100% / 8);
    text-align: left;
    padding-left: 0.5%;
}


.tableHeaderElement {
    margin: 0 0 9% 0;
    padding: 2%;  
}

.allAssets th,
.allAssets td {
    padding: 12px;
    text-align: left;
    vertical-align: middle;
}
 
.allAssets tbody tr {
    border-top: 1px solid #e3e6f0;
}


/*Table asset register buttons*/
.btTdItemView {
    background-color: var(--gray-dark);
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 0.7rem;
    cursor: pointer;
    border-radius: 4px;
}
 
.btTdItemView:hover {
    background-color: var(--yellow);
}

.btTdItemEdit {
    background-color: var(--blue);
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 0.6rem;
    cursor: pointer;
    border-radius: 4px;
}
 
.btTdItemEdit:hover {
    background-color: #bb2d3b;
}


.btTdItemDelete {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 0.7rem;
    cursor: pointer;
    border-radius: 4px;
}
 
.btTdItemView:hover {
    background-color: #bb2d3b;
}

/* ==========================================
   VALIDATION - ASSETS
   ========================================== */

.inputError{
   background-color: pink;
   border: none;
   outline: 2px solid red;
   border-radius: 5px; 
}


