@import url('variables.css');
@import url('nav.css');
@import url('table.css');
@import url('tabs.css');
@import url('loader.css');
@import url('pagination.css');
@import url('modal.css');
@import url('forms.css');
@import url('notifications.css');
@import url('toggle-button.css');
@import url('cards.css');
@import url('utilities.css');
@import url('home.css');
@import url('ica.css');
@import url('login.css');

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Poppins', Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
}

    body > header {
        background-color: var(--brand-color);
        text-align: center;
        padding: 1rem;
        width: 100%;
    }

        body > header img {
            max-height: 3rem;
            display: block;
            margin: 0 auto;
        }

    body > main {
        width: 100%;
        padding: 0 1em;
    }

    body > footer {
        background-color: var(--brand-color);
        color: #ffffff;
        text-align: center;
        padding: 1rem;
        margin-top: auto;
        width: 100vw;
    }

button {
    background-color: var(--brand-color);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 1rem 0;
}

    button.secondary {
        background-color: #fff;
        color: var(--brand-color);
    }

    button:hover {
        background-color: #e55a0b;
        color: #fff;
    }

    button.secondary:hover {
        background-color: #fff;
        text-decoration: underline;
        color: var(--brand-color);
    }

    button:disabled {
        background-color: #d3d3d3;
        color: #a9a9a9;
        cursor: not-allowed;
    }

a {
    color: var(--brand-color);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.fullscreen {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    z-index: 99999;
    background-color: #ffffff;
}

.toggle-fullscreen {
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    transition: all 0.3s;
}

.fullscreen .toggle-fullscreen {
    right: 0rem;
    top: 0rem;
}

@media (min-width: 768px) {
    main {
        max-width: var(--max-width);
        width: 100%;
    }
}
