/*
==========
Views content styles.
==========
*/

.view{
    width: 100%;
    height: calc(100vh - (50px + 2em));
    background-color: var(--silver-color);
    position: relative;
    overflow: auto;
}

/* General style for the scrollbar */
.view::-webkit-scrollbar {
    width: 10px;  /* Scrollbar width */
    height: 10px; /* Scrollbar height for horizontal scrolling */
}

/* Style for the scrollbar background track */
.view::-webkit-scrollbar-track {
    background: none;  /* Track background color */
}

/* Thumb Style: The part that moves */
.view::-webkit-scrollbar-thumb {
    background: var(--scarlet-color);  /* Thumb color */
    border-radius: 5px;
}

/* Style for the thumb on hover */
.view::-webkit-scrollbar-thumb:hover {
    background: var(--scarlet-color);  /* Thumb color on hover */
    cursor: pointer;
}

.view__content{
    display: none;
}

.view__content--active{
    display: block;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:  calc(100px + 2em) 1fr 70px;
}

/*
==========
Styles for all content.
==========
*/

.view__data__container{
    width: 100%;
    height: max-content;
    background: none;
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.view__content__container{
    background-color: var(--white-color);
    border-radius: 5px;
    padding: 1em;
    min-width: 300px;
    max-width: 100%;
    width: calc(50% - 1em);
}

.view__data__container .view__content__header{
    width: 100%;
    height: 2em;
    display: flex;
    gap: 1em;
    justify-content: space-between;
    align-items: center;
}

.view__content__action{
    display: flex;
    gap: 1em;
}

.view__data__container .view__content__header .title__four{
    color: var(--scarlet-color);
}

.view__data__container .view__content__header .view__content__action .button__scarlet{
    width: 30px;
    height: 30px;
}

.view__data__container .view__content__header .view__content__action .button__scarlet .icon{
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view__data__container .view__content__header .view__content__action .button__scarlet .icon svg{
    width: 100%;
    height: 100%;
    fill: var(--white-color);
}

.view__data__container .line{
    width: 100%;
    height: 0;
    border-top: 1px solid var(--dark-color);
    margin-top: 1em;
    margin-bottom: 1em;
}

.view__data__container .view__content__data{
    width: calc(100% - 1em);
    height: calc(100% - 4em);
    display: flex;
    flex-direction: column;
    gap: .3em;
}

.data__container{
    width: 100%;
    height: auto;
    display: flex;
    gap: 1em;
}

/*
==========
Styles for information.
==========
*/

.indicator{
    color: var(--dark-color);
    font-weight: bold;
}

.data{
    color: var(--dark-color);
}