:root {
    --primary-color: #00b4d8;
    --secondary-color: #0077b6;
    --success-color: #28a745;
    --info-color: #90e0ef;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-smooth: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    background-color: #f8f9fa;
}

header{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
    margin-bottom: 2rem;
}
h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
}
h3{
    font-size: 1.2rem;
    font-weight: 600;
}
.btn{
    font-weight: 600;
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-link{
    color: var(--primary-color);
    text-decoration: none;
}

.btn-link:hover{
    color: var(--primary-color);
    text-decoration: none;
}

.table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

.table thead th {
    background: rgba(0, 180, 216, 0.1);
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 2;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f4f6fb;
}

.table td, .table th {
    vertical-align: middle;
    border-top: none;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}


.table-responsive {
    border-radius: 12px;
    overflow: auto;
}




.btn + .btn {
    margin-left: 0.5rem;
}



.widget{
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
    padding: 3rem;
    border-radius: 12px;
    h2{
        text-transform: uppercase;
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        color: var(--secondary-color);
        margin-bottom: 1rem;
        .btn{
            text-transform: none;
        }
    }
    &.widget-signup{
        border-top: 10px solid var(--primary-color);
    }
    h1{
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    hr{
        border-color: var(--primary-color);
    }
}

.asset-list{
    li{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        border-bottom: 1px solid #e9ecef;
        &:last-child{
            border-bottom: none;
        }
    }
}

.icon-wrapper {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 0.5rem;
    i{
        font-size: 1rem;
        color: #fff;
    }
}


.main__header{
    margin-bottom: 4rem;
    hr{
        border-color: var(--primary-color);
    }
}


.grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.elements-list_add{
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.form{
    .form-group{
        margin-bottom: 1rem;
        label{
            font-weight: 600;
            margin-bottom: .5rem;
            display: block;
        }
        .form-units{
            display: flex;
            align-items: center;

            .unit{
                margin-left: 0.5rem;
            }
        }
        /* input, select, textarea{
            width: 100%;
            padding: .5rem;
            border-radius: 5px;
            border: 1px solid #e9ecef;
        } */
    }
}

fieldset{
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    legend{
        font-weight: 600;
        font-size: 1.2rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
    }
}

.usage-list {
    padding-left: 0;
    margin-bottom: 0;
}

.usage-list > li {
    background: #f4f6fb;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,180,216,0.05);
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

.usage-list > li > ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.usage-list > li > ul > li {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    padding: 0.7rem 1rem;
    font-weight: 400;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,180,216,0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.usage-list > li > ul > li:last-child {
    margin-bottom: 0;
}

.usage-list i.fas.fa-edit,
.usage-list i.fas.fa-trash {
    margin-right: 0.3rem;
}

.usage-list .btn-link.btn-sm {
    padding: 0 0.3rem;
    font-size: 0.95em;
}

.usage-list .text-danger {
    color: var(--danger-color) !important;
}

