/* BACKGROUND COLORS */
.simple-bgcolor-red-custom { background-color: rgb(210, 43, 43) }
.simple-bgcolor-blue-custom { background-color: #0056b3 }
.simple-bgcolor-blue-amen { background-color: rgb(77, 139, 163) }
.simple-bgcolor-blue-sapphire { background-color: #006494 }
.simple-bgcolor-brown-custom { background-color: rgb(125, 71, 37) }
.simple-bgcolor-green-custom { background-color: #4CAF50 }




/* Botão quadrado arredondado focado em emojis e imagens */
.simple-button-radius {
    display: flex;
    align-items: center;
    padding: 5px 7px 5px 7px;
    border-radius: 12px;
    border-style: solid;
    border-color: rgb(95, 95, 95);
    background-color: rgb(217, 217, 217);
    cursor: pointer;
    transition: all 0.2s;
}
.simple-button-radius:hover { filter: brightness(0.8) }
.simple-button-radius:active { transform: scale(0.9) }
.simple-button-radius img { height: 19px; width: 19px; } 

/* Botão quadrado não tão arredondado focado em texto */
.simple-button-wind {
    color: rgb(255, 255, 255);
    font-size: 14px;
    padding: 8px 16px 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.simple-button-wind-secondary {
    color: rgb(255, 255, 255);
    font-size: 14px;
    padding: 8px 16px 8px 16px;
    border: 3px solid;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.simple-button-wind-reduce {
    color: rgb(255, 255, 255);
    font-size: 14px;
    padding: 4px 8px 4px 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.simple-button-wind-only-img {
    font-size: 14px;
    padding: 6px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.simple-button-wind:hover, .simple-button-wind-only-img:hover, .simple-button-wind-reduce:hover {
    filter: brightness(0.8) 
}
.simple-button-wind:active, .simple-button-wind-only-img:active, .simple-button-wind-reduce:active { 
    filter: brightness(1.1) 
}

/* Botão mobi focado em mobile */
.simple-button-mobi {
    border-radius: 10px;
    border: none;
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.simple-button-mobi:hover {
    filter: brightness(0.95);
    transform: translateY(-4px)
}
.simple-button-mobi:active {
    transform: translateY(4px);
}
.simple-button-mobi img { width: 50px }
.simple-button-mobi p { margin: 0 }

/* Botão rounded com intuito em imagem  */
.simple-button-rounded {
    color: rgb(255, 255, 255);
    padding: 6px;
    border: none;
    border-radius: 17px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}
.simple-button-rounded:hover { filter:brightness(0.8) }



/* Animação de link com linha embaixo */
.simple-link-astroline {
    color: #1a82f2;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease-in-out;
}
.simple-link-astroline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    background: #3498db;
    transition: width 0.3s ease;
    bottom: -5px;
    left: 0;
}
.simple-link-astroline:hover { color: #2475aa }
.simple-link-astroline:hover::after { width: 100% }



/* SIMPLE MENU DROPDOWN */
.simple-menu-dropdown { 
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: white;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
}
.simple-menu-dropdown > a > li,
.simple-menu-dropdown > button {
    list-style-type: none;
    width: 100%;
    border-radius: 8px;
    border: none;
    padding: 6px 10px;
    transition: all 0.2s ease;
    font-size: 1em;
    background-color: transparent;
    cursor: pointer;
    text-align: start;
}
.simple-menu-dropdown > a {
    text-decoration: none;
    color: black;
}
.simple-menu-dropdown > a > li:hover,
.simple-menu-dropdown > button:hover  {
    background-color: #f1f1f1
}
.simple-menu-dropdown > a > li:active,
.simple-menu-dropdown > button:active { 
    transform: scale(0.9) 
}
.simple-menu-dropdown .danger { color: rgb(150, 50, 50) }
/* Threedot Button --- TODO: remove simple-button-menu after refactoring where it is still used */
.simple-menu-dropdown-threedot-button, .simple-button-menu {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    border-radius: 100%;
    cursor: pointer;
}
.simple-menu-dropdown-threedot-button img, .simple-button-menu img {
    width: 100%;
}
.simple-menu-dropdown-threedot-button:hover, .simple-button-menu:hover {
    background-color: rgb(167, 167, 167);
}



/* SIMPLE MODAL */
.simple-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.simple-modal {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    text-align: center;
}
@media (max-width: 768px) {
    .simple-modal {
        width: 85%;
    }
}
.simple-modal-button-close {
    align-self: flex-end;
    background-color: unset;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: -12px;
    margin-top: -12px;
    transition: all 0.3s ease;
}
.simple-modal-button-close img {
    width: 20px;
}
.simple-modal-button-close:hover {
    background-color: #e5e5e5;
}



/* Padrão de wrapper (papers, documents, users) */
.simple-wrapper {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.simple-wrapper-start-img {
    height: 35px;
}



/* Simple Message Box */
.simple-message-box {
    background-color: rgb(203, 203, 203);
    border-radius: 10px;
    padding: 6px;
}
.simple-message-box > li {
    padding: 5px;
    border-radius: 5px;
    border: 2px solid black;
    list-style-type: none;
}
.simple-message-box > .success { background-color: rgba(90, 165, 82, 0.437) }
.simple-message-box > .info { background-color: rgba(136, 200, 253, 0.46) }
.simple-message-box > .error { background-color: rgba(221, 166, 166, 0.991) }
.simple-message-box > .warning { background-color: rgba(207, 148, 47, 0.708) }
.simple-message-box > .debug { background-color: blueviolet }



/* Alerts */
.simple-alert-temp {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s;
}

.simple-alert-temp.alert-success { background-color: #4CAF50 }
.simple-alert-temp.alert-error { background-color: rgb(208, 135, 135) }
.simple-alert-temp.alert-info  { background-color: rgba(136, 200, 253, 0.46) }

.simple-alert-temp-show {
    opacity: 1;
}
