* {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
}

.container {
    width: 80%;
    margin: 0 auto;
}

header {
    background-color: #ffffff;
    color: #333333;
    padding: 1em 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content .mobile-menu-toggle {
    display: none;
    cursor: pointer;
    margin-right: 1em;
    font-size: 2.0em;
}

header h1 {
    margin: 0;
    color: #333333;
    font-family: 'Comic Sans MS';
    font-size: 2em;
    text-align: start;
    padding-left: 1em;
}

.wpdm {
    color: #333333;
    font-family: 'Comic Sans MS';
}

nav.nav-menu-pc {
    margin-left: auto;
    position: relative;
}

nav.nav-menu-pc ul {
    list-style: none;
    padding: 0;
    text-align: end;
}

nav.nav-menu-pc ul li {
    display: inline;
    margin: 0 7px;
}

nav.nav-menu-pc ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 1.2em;
}

nav.nav-menu {
    margin-left: auto;
    position: relative;
}

nav.nav-menu ul {
    list-style: none;
    padding: 0;
    text-align: end;
}

nav.nav-menu ul li {
    display: inline;
    margin: 0 15px;
}

nav.nav-menu ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 1.2em;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(-20px);
    opacity: 0;
}

.nav-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.homeclick {
    display: none;
}

/* start */
/* Estilos para o Dashboard */

/* Estilos das Abas */
.tab-container {
    width: 100%;
}

.tab-list {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #ccc;
}

.tab-item {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.tab-item.active {
    border-bottom: 2px solid #ff5a5f;
    color: #ff5a5f;
}

.tab-content {
    padding-bottom: 57%;
    margin-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

h2 {
    color: #ff5a5f;
}

#dashboard .dashboard-container {
    max-width: 600px;
    margin: 0 auto;
}

#dashboard h2 {
    font-family: 'Comic Sans MS';
    color: #333333;
    margin-bottom: 1em;
}

#dashboardContent {
    text-align: start;
}

#dashboardContent p {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 0.8em;
}

#statusWPDMContainer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1em;
}

/* Estilos dos icons */

.status-icon {
    position: relative;
    cursor: pointer;
    font-size: 1em;
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .tooltip-container {
        position: absolute;
        width: 200px;
        text-align: left;
    }
}

.tooltip-container {
    position: absolute;
    display: none;
    background: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    z-index: 1000;
    max-width: 300px;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-icon.pending {
    color: #e67e22;
    border: 2px solid #e67e22;
    animation: pulse 1.5s infinite;
}

.status-icon.open {
    color: #27ae60;
    border: 2px solid #27ae60;
    animation: bounce 1.2s infinite;
}

.status-icon.unknown {
    color: #f1c40f;
    border: 2px solid #f1c40f;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

#dashboardContent .btn {
    display: inline-block;
    margin: 0.5em;
    padding: 0.8em 2em;
    font-size: 1em;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#dashboardContent .btn-success {
    background-color: #ff5a5f;
    color: #ffffff;
}

#dashboardContent .btn-primary {
    background-color: #ff5a5f;
    color: #ffffff;
}

#dashboardContent .btn-secondary {
    background-color: #f0f0f0;
    color: #333333;
}

#dashboardContent .btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#dashboardContent .btn:hover {
    filter: brightness(90%);
}

#dashboardContent .btn-primary.disabled,
#dashboardContent .btn-secondary.disabled {
    background-color: #ccc;
    color: grey;
    cursor: not-allowed;
}

#welcomeMessage,
#statusWPDMContainer {
    font-family: 'Comic Sans MS';
    margin-bottom: 1em;
    text-align: center;
}

/* end */
footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    color: #333333;
    text-align: center;
    padding: 1em 0;
    box-shadow: 2px 0px 7px rgba(0, 0, 0, 0.2);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease-in-out;
}

.menu-open .mobile-menu-toggle i {
    transform: rotate(90deg);
}

.menu-closed .mobile-menu-toggle i {
    transform: rotate(0deg);
}


@media screen and (max-width: 1000px) {

    .header-content .mobile-menu-toggle {
        display: block;
        cursor: pointer;
    }

    nav.nav-menu.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    nav.nav-menu-pc {
        display: none;
    }

    nav.nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        transform: translateY(-20px);
        opacity: 0;
    }

    nav.nav-menu ul {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    nav.nav-menu ul li {
        display: block;
        margin: 15px 0;
    }

    nav.nav-menu ul li a {
        font-size: 1.5em;
        padding: 1em;
    }

    .tab-list {
        display: none;
    }
}

@media screen and (max-width: 380px) {
    h2 {
        font-size: 23px;
    }

}

@media screen and (max-width: 360px) {
    h2 {
        font-size: 20px;
    }

}