﻿@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

.navbar {
    padding-left: 1em;
    padding-right: 1em;
}

.container-principal {
    padding: 10px 0px 0px 20px;
}

.container-small {
    margin: 1% auto auto 0;
    max-width: 800px;
    position: absolute;
}

.form-container {
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 3px;
    max-width: 300px;
    background-color: #f7f7f7;
    font-size: 12px;
}

    .form-container label {
        grid-column: 1;
        margin: 0px 15px 0px 0px;
        display: flex;
        align-items: center;
        font-weight: bold;
        width: 100%;
    }

    .form-container full-grid {
        grid-column: none;
    }

    .login {
        min-width: 250px;
        max-width: 350px;
        width: 25em;
    }

.form-containerRight {
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1px 7px 10px 1px;
    margin-bottom: 3px;
    min-width: 300px;
    max-width: 500px;
    background-color: #f7f7f7;
    max-height: calc(100vh - 315px);
    overflow-y: auto;
}

.form-container-comments {
    margin-bottom: 10px;
    max-width: 300px;
}

    .form-container-comments input {
        border: 1px solid #ccc;
        border-radius: 15px;
        padding-left: 10px;
        width: 100%;
        background-color: #ffffff;
    }

        .form-container-comments input::placeholder {
            color: darkgray;
        }

.form-containerLeft {
    display: grid;
}

.form-containerResult {
    min-width: fit-content;
    font-size: 12px;
}

.form-containerButton {
    display: flex;
    margin-top: 10px;
    justify-content: flex-end;
}

.checkbox-text {
    position: relative;
    bottom: 1px;
}

.configuracoes {
    margin-left: 15px;
}

    .configuracoes input[type="checkbox"] {
        margin-right: 5px;
    }

.form-container button {
    padding: 3px 10px;
    border: none;
    border-radius: 10px;
    background-color: dimgray;
    color: #ffffff;
    font-size: 12px;
    margin-left: 3px;
}

    .form-container button:hover {
        background-color: gray;
    }

.error-message {
    color: red;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: separate;
}

    table th,
    table td {
        padding: 2px;
        padding-left: 5px;
        border: 1px solid #ccc;
        background-color: transparent;
    }

.task-date {
    font-weight: bold;
    font-size: 12px;
    margin-left: 45px;
    margin-bottom: 5px;
}

.total-count {
    font-weight: bold;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    color: slategray;
}

.head-group {
    display: flex;
    justify-content: flex-end;
}

.task-table {
    width: 100%;
}

.clear {
    clear: both;
}

.disabled {
    background-color: #f0f0f0;
    color: #999999;
}

.button-blink {
    animation: blink-animation 0.5s linear infinite;
}

@keyframes blink-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.container-infoSelect {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 3px;
}

.info-button-container {
    position: relative;
}

    .info-button-container button {
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background-color: lightblue;
        color: white;
        font-weight: bold;
        font-size: 10px;
        cursor: pointer;
        border: none;
        padding: 0;
        outline: none;
        transition: background-color 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .info-button-container button:hover {
            background-color: #3299ff;
        }

        .info-button-container button:focus {
            box-shadow: 0 0 0 2px rgba(50, 153, 255, 0.5);
        }

        .info-button-container button::before {
            font-family: "Font Awesome";
            content: "\a";
        }

    .info-button-container:hover .info-box-position {
        display: block;
    }

.info-box-position {
    position: absolute;
    top: -12em;
    left: -5em;
    padding: 5px;
    display: none;
    width: 40em;
    margin-bottom: 5em;
}


.manage-cell {
    display: flex;
    border: none;
    padding: 0px;
    text-align: center;
    width: 40px;
}

.form-containerRight .delete-button {
    background-color: orangered;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 10px;
    margin: auto auto auto auto;
    padding: 0px 4px 0px 4px;
}

.delete-button:hover {
    color: red;
}

.edit-cell {
    border: none;
    padding: 0px;
    text-align: center;
    width: 0px;
}

.form-containerRight .edit-button {
    background-color: transparent;
    color: steelblue;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    margin: auto auto auto auto;
    padding: 0px 0px 0px 0px;
}


.table {
    margin-left: 2px;
}


.id-cell {
    width: 70px;
    min-width: 70px;
    text-align: center;
}

.duration-cell {
    width: 70px;
    min-width: 70px;
    text-align: center;
}

.category-cell {
    width: 100px;
    min-width: 100px;
    white-space: nowrap;
    padding-right: 5px;
}

.category-edit {
    text-align: left;
}

.comment-cell {
    max-width: 185px;
    word-wrap: break-word;
    padding-right: 5px;
}

.form-containerRight thead {
    text-align: center;
}

.config-button-container {
    display: flex;
    position: absolute;
    left: 20px;
    top: auto;
}

.config-button {
    background-color: transparent;
    border: none;
    width: 25px;
    cursor: pointer;
}

.config-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 23px;
    height: 23px;
}

    .config-icon > i {
        padding-left: -2px;
        padding-top: 1px;
    }

.discord-button {
    background-color: transparent;
    border: none;
    position: absolute;
    left: 47px;
    top: 135px;
    width: 25px;
    cursor: pointer;
}

.discord-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    scale: 0.5;
}

.config-options {
    position: relative;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    padding: 5px;
    margin-top: -125px;
    margin-left: -28px;
    display: none;
    min-width: 289px;
    min-height: 125px;
    max-height: 125px;
    border-radius: 5px;
}

    .config-options > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 0;
        margin-bottom: -2px;
    }

    .config-options input[type="checkbox"] {
        position: relative;
        margin: 0;
        margin-right: 5px;
        width: 20px;
        height: 20px;
        appearance: none;
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
        transform: scale(0.8);
    }

        .config-options input[type="checkbox"]::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 12px;
            font-size: 10px;
            line-height: 1;
            text-align: center;
            color: #555;
            transition: color 0.3s ease;
        }

        .config-options input[type="checkbox"]:checked::before {
            color: green;
            background-color: transparent;
            content: "\2713";
            font-weight: bolder;
            padding-top: 2px;
        }

    .config-options label {
        font-size: 12px;
        font-weight: normal;
    }

.config-button-container:hover .config-options {
    display: block;
}

.body-background {
    background-image: url("../Images/background-image.jpg");
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
}

.footer-background {
    background-color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 10px;
    padding-bottom: 5px;
    color: gray;
    font-size: 12px;
}

.containerFooter {
    height: 15px;
}

.no-register {
    margin-left: 10px;
}

.date-cell {
    text-align: center;
}

.delete-cell {
    text-align: center;
}
