@import "https://www.nerdfonts.com/assets/css/webfont.css";

@font-face {
    font-family: 'NerdFonts';
    src: url(/fonts/SymbolsNerdFontMono-Regular.ttf);
}
.skew-25 {
    transform: skewX(-25deg);
}
.skew25 {
    transform: skewX(25deg);
}
.scroll-container { /* para tabelas */
    width: 100%;          /* Defina a largura desejada */
    overflow-x: auto;     /* Permite a rolagem horizontal */
    white-space: nowrap;  /* Impede que o conteúdo quebre para a próxima linha */
}
:root{
    --base: #f3f3f3;
    --letter: rgb(48, 48, 48);
    --primary:rgb(107, 13, 196);
    --secondary: rgb(162, 37, 245);
    --transparent: rgba(189, 189, 189, 0.05);
    --transparent-color: rgba(238, 112, 255, 0.05);
    --cinza:gray;
    --cinza_sombra:rgb(161, 161, 161);
    --escuro:#303030;
    --escuro_sombra:rgb(68, 68, 68);
    
    }
body{
  background-color: var(--base);
  color: var(--letter);
  font-family: 'Roboto', sans-serif;
}
.text-primary-color{
  color: var(--primary);
}
.a-link{
  color: var(--primary);
}
.a-link:hover, .a-link:active{
  color: var(--secondary);
}
.my-font{
  font-family: "Readex Pro", sans-serif;
}
@media (max-width: 700px) {
  .m700{
    display: none!important;
  }
}
@media (max-width: 1300px) {
  .m1300{
    display: none!important;
  }
}
@media (min-width: 1301px) {
  .m1301{
    display: block;
  }
}

@media (max-width: 770px) {
  .m770{
    display: none;
  }
  .td-account{
    width: 33.333%;
  }
}
@media (min-width: 771px) {
  .m771{
    display: block;
  }
  .td-account{
    width: 20%;
  }
}


@media (max-width: 1060px) {
  .m1060{
    display: block!important;
  }
  .mycontent{
    margin-left: 0;
    width: 100%;
    margin-bottom: 50px;
  }
    .myconteiner{
    width: 95%;
    margin: 0 2.5%;
  }
}
@media (min-width: 1061px) {
  .m1061{
    display: block!important; 
  }
  .mycontent{
    margin-left: 200px;
    flex: 1;
  }
  .myconteiner{
    width: 750px;
    margin: 0 50px;
  }
}


footer{
  border-top: solid var(--primary) 1px;
  border-radius: 10px 10px 0 0 ;
  box-shadow: 0 -5px 6px -2px var(--primary);
  position: relative;
  background-color: var(--base);
  color: var(--letter);
  text-align: center;
  height: 45px;
}

/* ==================== Switch (Toggle) styles dark-light ==================== */
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 23px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 28px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider::before {
  transform: translateX(20px); 
}



header{
  background-color:var(--base);
  color: var(--letter);
  min-height: 6vh;
  width: 100%;
  display: flex;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: solid var(--primary) 1px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 6px -2px var(--primary);
  position: relative;
  padding-top: 5px;
}
.plus{
  color: var(--primary);
  font-style: normal;
  font-size: 2rem
}
.header_login{
  padding: 2px 6px;
  font-size: 0.9rem;
  margin: 0 2px;
}
.header_login:hover, .header_login:active{
  color: var(--secondary);
}
.header_regist{
  background-color: var(--primary);
  color: white;
  border-radius: 50px;
}
.header_regist:hover, .header_regist:active{
  background-color: white;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 105%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--base);
  border-top: 2px solid var(--primary);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  padding: 1rem;
  z-index: 10;
  min-width: 180px;
  text-align: left;
}

.dropdown-content a {
  display: block;
  color: var(--letter);
  padding: 0.4rem 0;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

#voltar-ao-topo {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    cursor: pointer;
    background-color: var(--cinza);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
  }

  #voltar-ao-topo:hover {
    background-color: var(--cinza_sombra);
  }


/* =================== Login Page ======================== */

.login-form {
  padding: 2rem;
  background-color: var(--base);
  color: var(--letter);
  border: 1px solid var(--primary);
  border-radius: 12px;
  box-shadow: 0 4px 12px -2px var(--primary);
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  margin: 50px 0;
}

.login-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  margin: 0.5rem 0 0.3rem;
}

.login-input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background-color: var(--base);
  color: var(--letter);
  font-size: 1rem;
}

.login-form button {
  margin-top: 1rem;
  width: 100%;
  padding: 0.7rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-form button:hover {
  background-color: var(--secondary);
}

.login-link{
  color: var(--letter);
  font-size: 0.8rem;
}
.login-link:hover{
  color: var(--primary);
}
.login-link:active{
  color: var(--secondary);
}

.form_error{
  color: red;
  font-size: 0.75rem;
}

/* ======== Loading =============*/

#loading{
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  position: fixed;
  background-color: var(--base);
  z-index: 10;
}

/* From Uiverse.io by Codecite */ 
.spinner-container {
  width: 150px;
  height: 150px;
  position: relative;
  margin: 30px auto;
  overflow: hidden;
}

.spinner {
  position: absolute;
  width: calc(100% - 9.9px);
  height: calc(100% - 9.9px);
  border: 5px solid transparent;
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 5s cubic-bezier(0.17, 0.49, 0.96, 0.79) infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ======== Tables =============*/
.table-section{
  width: 100%;
  border: 2px var(--primary) solid;
  border-radius: 5px;
  margin: 3px;
}
.table-head{
  height: 40px;
  align-items: center;
  font-weight: 700;
  display: flex;
  position: sticky;
  top: 0;
  background-color: var(--base);
}
.table-items{
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 10px;
}
.table-tr{
  height: 35px;
  display: flex;
  width: 100%;
  align-items: center;

}

.header2{
  width: 200px;
  border-right: var(--primary) solid 2px;
  height: 100vh;
  padding-top: 50px;
  position: fixed;
  left: 0;
  top: 0;
}
.header2-box{
  width: 130px;
  margin: auto;
}
.header2-name{
  text-align: center;
  font-weight: bolder;
  font-size: 0.9rem;
}
.header2-links{
  margin: 30px auto;
  font-size: 0.85rem;
  font-weight: 500;
  
}

.header2-title{
  position: fixed;
  bottom: 25px;
  width: 200px;
  text-align: center;
  left: -7px;
}

.header3{
  display: flex;
  justify-content: space-around;
  align-content: center;
  width: 100%;
  padding: 10px 0 ;
  border-top: 1px solid var(--primary);
  bottom: 0;
  left: 0;
  position: fixed;
  text-align: center;
  background-color: var(--base);
  color: var(--letter);
  z-index: 100;
}
/* From Uiverse.io by KshitijAdhikaree */ 
/* The switch - the box around the slider */
.switch-container {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 23px;
}

/* Hide default HTML checkbox */
.switch-container input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.switch-container .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(194, 194, 194);
  transition: background-color 0.5s;
  border-radius: 30px;
}

.switch-container .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50%;
  left: 13%;
  bottom: 15.8%;
  box-shadow: inset 15px -4px 0px 15px white;
  background: var(--primary);
  transition: transform 0.5s, box-shadow 0.5s;
}

.switch-container input:checked + .slider {
  background-color: var(--primary);
}

.switch-container input:checked + .slider:before {
  transform: translateX(100%);
  box-shadow: inset 6px -2px 0px 0px white;
}

.mycontent{
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.custom-button{
  cursor: pointer;
  background-color: var(--primary);
  border-radius: 10px;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 3px 6px -2px var(--primary);
}
.custom-button:hover, .custom-button:active{
  box-shadow: 0 5px 6px -2px rgb(85, 85, 85);
}

.items-list{
  position: relative;
}

.items-list-dropdown{
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--base);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  padding: 1rem;
  z-index: 10;
  min-width: 100%;
  border-radius: 10px;
  overflow-y: auto;
  max-height: 140px;
}

.items-list:focus-within .items-list-dropdown{
  display: block;
}

.items-list-dropdown a {
  display: block;
  color: var(--letter);
  padding: 0.4rem 0;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}
.items-list-dropdown a:hover {
  color: var(--secondary);
}

.last-movs{
  border-bottom: 2px var(--primary) solid;
}
.movs-list{
  border: 10px;
  border-radius: 20px;
  margin-top: 10px;
  padding: 10px;
  background-color: var(--transparent);
}
.movs-list a:hover{
  font-weight: 500;
}
.movs-list-items{
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 10px;
}
.movs-list-trx{
  border-bottom: 1px solid var(--secondary);
}
.mov-detail-tit{
  font-weight: 200;
  font-size: 0.9rem;
}
.mov_options{
  width: 40px;
  height: 40px;
  background-color: var(--transparent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border-radius: 10px;
  margin: 0 5px;
  border: 1px solid var(--letter);
}
.see-all a{
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
}
.see-all a:hover{
  color: var(--secondary);
}
.custom-button2{
  cursor: pointer;
  background-color: var(--base);
  border-radius: 10px;
  width: 100%;
  height: 100%;
  color: var(--letter);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: var(--primary) solid 3px;
  box-shadow: 0 3px 6px -2px var(--primary);
}
.custom-button2:hover, .custom-button2:active{
  box-shadow: 0 5px 6px -2px rgb(85, 85, 85);
  background-color: var(--primary);
  color: white;
}

.mov-filter {
  background-color: var(--transparent);
  border-radius: 10px;
  color: var(--letter, #fff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 10px;
  box-shadow: 0 3px 6px -2px rgb(85, 85, 85);
  gap: 5px;
  font-size: 0.9rem;
}

.input-form {
  width: 100%;
  padding: 8px 12px;
  height: 44px;
  margin-top: 3px;
  color: var(--letter);
  background-color: var(--transparent);
  border: none;
  border-radius: 10px;
  box-shadow: 0 3px 6px -2px rgb(85, 85, 85);
  transition: all 0.3s ease;
}

.input-form:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
  background-color: var(--base);
}

.input-color{
  width: 100%;
  border: none;
  height: 44px;
  background-color: var(--base);
  box-shadow: 0 3px 6px -2px rgb(85, 85, 85);

}
.input-color:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
  background-color: var(--base);
}
input[type="color"] {
  border: none;
  cursor: pointer;
  border-radius: 10px;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
}

 input[type="file"]::file-selector-button {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
  }
  input[type="file"]{
    display: none;
  }
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: none;
}
  .custom-date {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

.custom-date::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background-color: var(--letter);
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10h2v2H7zM11 10h2v2h-2zM15 10h2v2h-2zM7 14h2v2H7zM11 14h2v2h-2zM15 14h2v2h-2z"/><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11zm0-13H5V6h14v1z"/></svg>') no-repeat center;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10h2v2H7zM11 10h2v2h-2zM15 10h2v2h-2zM7 14h2v2H7zM11 14h2v2h-2zM15 14h2v2h-2z"/><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11zm0-13H5V6h14v1z"/></svg>') no-repeat center;
    background-size: contain;
    pointer-events: none;
  }

  .input-label{
    font-size: 0.95rem;
  }

  .input-submit {
  width: 100%;
  padding: 8px 12px;
  height: 44px;
  margin-top: 3px;
  color: var(--letter);
  background-color: var(--transparent);
  border: none;
  border-radius: 10px;
  border: 2px var(--primary) solid;
  transition: all 0.3s ease;
}

.input-submit:hover, .input-submit:active{
  background-color: var(--primary);
  color: white;
}

.movs-options{
  background-color: var(--transparent-color);
  padding: 10px;
  aspect-ratio: 1 / 1;
  border-radius: 10px 0;
  box-shadow: 0 3px 6px -2px var(--secondary);
  border: var(--secondary) 1px solid;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  z-index: 1;
}
.movs-options::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--base) 0%, var(--base) 100%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    z-index: 0;
    border-radius: 50%;
  }
  .movs-options:hover::after,
  .movs-options:active::after {
    transform: translate(-50%, -50%) scale(1);
  }
  .movs-options label, .movs-options i{
    z-index: 1;
    position: relative;
    cursor: pointer;
    width: 100%;
    padding: 5px 0;
    min-height: 30%;
  }


/* =================== Profile Page ======================== */

.profile_accounts table{
  width: 100%;
  border: 1px solid var(--transparent);
  
}
.profile_accounts tr{
  padding: 20px!important;
}
.profile_accounts tr:nth-child(even){
  background-color: var(--transparent); /* cor para linhas ímpares */
}

.profile_accounts a:hover, .profile_accounts a:active{
  color: var(--secondary);
}
.profile_accounts_thx{
  color: var(--primary);
  font-weight: bold;
}
.profile_accounts_trx{
  border-top: 1px solid var(--primary);
}

.alert-section{
    position: fixed;
    top: 7%;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
}
.top-box {
    margin: auto;
    background-color: var(--base);
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}
.top-box:hover, .top-box:active{
    background-color: #24282c;
}