/*------------------- DEFAULTIE IESTATĪJUMI---------------------------- */

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: #1a1a1a;
    color: #d3d3d3;
    font-family: "Montserrat", sans-serif;
    padding-bottom: 50px;
}
button, a {all: unset;}


a {
    color:#71ff89;
}

h1 {
    font-size: 8vh;
    color:White;
}
h2 {
    font-size: 6vh;
    color:White;
    font-weight: 300;
}

h3 {
    font-size: 30px;
    color:#ffffff;
    font-weight: 400;
    border-bottom: solid 1px #737373;
    padding-bottom: 10px;
}

.montserrat-regular {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.montserrat-light {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

/*------------------------EFEKTI ---------------------------------------- */

.pattern-overlay {
    background-image: radial-gradient(circle at 0.5px 0.5px, hsla(0, 0%, 98%, 0.41) 1px, transparent 0);
    background-size: 10px 10px;
}

/*------------------------ IZVĒLNES STILS------------------------------ */

.nav {
    position:sticky;
    top: 0;
    z-index: 1;
}

.nav-menu {
    width: 100%;
    display: flex;
    column-gap: 5px;
    justify-content: center;
    background-color: #1a1a1a;
    border-bottom: solid 0 #2e2d2d ;
    box-shadow: 0 5px 5px #000000;
}

.nav-item {
    display: inline-block;
    padding: 10px;
}

/* ------------------------ POGU STILI --------------------------*/

.menu-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px transparent;
    padding:5px;
    width: 140px;
    height: 56px;
    color: #a4a4a4;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    transition: all 0.5s;
}

.menu-primary:hover {
    border: solid 1px #71ff89;
    transition: all 0.5s;
    color: #71ff89;
}

.is-active {
    background-color: #71ff89;
    color: #1a1a1a;
    border: solid 1px #71ff89;
}

.warning {
    border: solid 1px #cb1800;
}

/*--------------------- HERO STILS---------------------------- */

.hero-title {
    margin-left: 40px;
}

.hero-subtitle {
    margin-left: 80px;
    margin-top: 80px;
    width: calc(50% - 50px);
    overflow-wrap: break-word;
}

.header-area {
    height: calc(100vw / 2);
    min-height: 600px;
    width: 100%;
    position: relative;
}

.header-area-narrow {
    height: 300px;
    min-height: 300px;
    width: 100%;
    position: relative;
}

.header-info {
    position:absolute;
    height:100%;
    width: 100%;
}

.header-image {
    height: 100%;
    background-image: url("solar-cargo-systems.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.header-image-narrow {
    height: 100%;
    background-image: url("solar-cargo-systems.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.line-accent {
    width: 100%;
    height: 25px;
    background-image: url("bg-element-accent.svg");
    margin-top: 20px;
}

/*--------------------- CITI ELEMENTI---------------------------- */

.cards-container {
    width:70%;
    margin:auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card {
    height:465px;
    width:100%;
    margin: 20px;
    border: solid 1px #71ff89;
    border-radius: 4px;
    padding:20px;
    background-color: #1a1a1a;
    box-shadow: 0 0 10px #000000,0 0 20px #000;
}

.full-container {
    width:95%;
    margin:auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.full-card {
    width:100%;
    margin: 20px;
    border: solid 1px #71ff89;
    border-radius: 4px;
    padding:20px;
    background-color: #1a1a1a;
    box-shadow: 0 0 10px #000000,0 0 20px #000;
}

/* --------------------------------- TABULU NOFORMĒJUMS --------------------------------------------  */
.data-table {
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0 10px;
    margin-top: 10px;
}

/* samazināt spacingu headerī */
.data-table thead {
    border-spacing: 0 3px;
}

.mini-row {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 40px;
    background-color: #2e2d2d;
    border: solid 1px #3d3d3d;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px #1a1a1a,0 0 10px #1a1a1a,0 0 10px #1a1a1a,0 0 10px #1a1a1a,0 0 10px #1a1a1a;
}

.header-row {
    display: table;
    table-layout: fixed;
    width: 100%;
    text-align: left;
}

.header-row th:first-child {
    padding-left: 10px;
}

.mini-row td {
    vertical-align: middle;
    padding: 0;
    border: none;
}

.mini-row th {
    vertical-align: middle;
    padding: 0;
    border: none;
}
/* Lai smuki stūri būtu katrai ROW */
.mini-row td:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding-left: 10px;
}

.mini-row td:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.name {
    width: 60%;
    text-align: left;
    padding-left: 10px;
}

.id-num {
    width: 15%;
    text-align: center;
}

.worker-status {
    width: 25%;
    text-align: center;
}

/* --------------------------------- Formu noformējums --------------------------------------------  */

.add-container-form {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 80%;
    margin: auto;
    margin-top: 20px;
}

.add-container-form input,select {
    border: solid 1px #71ff89;
    border-radius: 4px;
    height: 30px;
    background-color: #2e2d2d;
    color: #d3d3d3;
    padding-left: 10px;
}

.add-container-form button {
    margin-top: 20px;
}