@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Unbounded:wght@200..900&display=swap');

:root {
    --color-green: #8d9f1f;
    --color-white: #ffffff;
    --color-blue: #1e8d9f;
    --color-red: #9f1e8d;
    --color-light-grey: #f2f2f2;
    --color-black: #212529;
    --color-grey: #dee2e6;
}

html {
    font-size:  15px;

    @media screen and (max-width: 601px) {
        font-size: 14px;
    }
}

.text-success {
    color: var(--color-green) !important;
}

.border-success {
    border-color: var(--color-green) !important;
}

body {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
}

.container  {
    width: 96%;
    max-width: 1200px;
}

h1 {
    font-family: "Unbounded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 1.6rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: 0.25rem;

    @media screen and(max-width: 600px) {
        border-left: none;
        width: 100%;
        padding-left: 0;
        font-size: 1.6rem;
    }
}

.btn {
    &.btn-success {
        background-color: var(--color-green);
        border-color: var(--color-green);
    }

}
.navbar {
    .container  {
        display: flex;
    }
    background-color: var(--color-green);
    .navbar-brand {
        flex-grow: 1;
        img {
            height: 100%;
            width: 100%;
            max-width: 140px;
        }
    }

    .navbar-collapse  {
        flex-grow: 0;
    }
}

.navbar-dark {
    .navbar-nav {
        .nav-link {
            color: var(--color-white);
            &:focus {
                background-color: rgba(0, 0, 0, 0.3);
                border-radius: 0.25rem;
            }
        }
    }
}

.table {
    a[aria-label="Просмотр"] {
        background-color: var(--color-green);
        font-size: 0.8rem;
        padding: 6px 8px;
        /* height: 26px;
        width: 26px; */
        color: var(--color-white);
        /* justify-content: center;
        align-items: center; */
        border-radius: 4px;
    }

    a[aria-label="Редактировать"] {
        background-color: var(--color-blue);
        font-size: 0.8rem;
        padding: 6px 8px;
        color: var(--color-white);
        border-radius: 4px;
    }

    a[aria-label="Удалить"] {
        background-color: var(--color-red);
        font-size: 0.8rem;
        padding: 6px 8px;
        color: var(--color-white);
        border-radius: 4px;
    }

    td {
        white-space: nowrap;
        width: auto;
        &:first-child {
            width: auto;
        }

        &:last-child {
            text-align: right;
            width: 100%;
        }
    }

    thead {
        th {
            &:last-child {
                text-align: right;
            }
        }
    }
}

.pagination {
    display: flex;
    gap: 5px;
    li {
        border-radius: 4px;
        overflow: hidden;
        a {
            background-color: var(--color-light-grey);
            font-size: 0.8rem;
            width: 24px;
            display: inline-flex;
            height: 24px;
            padding: 0;
            line-height: 1;
            border-radius: 4px;
            justify-content: center;
            align-items: center;
            color: var(--color-black);
            
        }

        &.active {
            a {
                background-color: var(--color-black);
                color: var(--color-white);
            }
        }
    }
    
}

.balance-negative {
    color:red;
}

.card-title {
    color: var(--color-black);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.h5 {
    font-weight: 700;
}

.amount {
    font-size: 30px;
    font-weight: 700;

    .currency {
        font-size: 14px;
    }
}


.view-all {
    display: block;
    text-align: right;
    color: #1a56db;
    text-decoration: underline;
    margin-top: 12px;
}
.btn-outline {
    color: #1a56db;
    border-color: #1a56db;
    margin-top: 12px;
}
.status-paid {
    color: #059669;
}
.status-pending {
    color: #d97706;
}

.footer-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    .madein {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        color: var(--color-black);
        opacity: 0.6;
        transition: .5s;
        &:hover {opacity:1}
        .madein__logo {
            height: 20px;
            width: 20px;
        }
    }
}

.form-group {
    margin-bottom: 1rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

