/* Reset some default styles */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
  }
  
  /* Container styling */
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 15px;
  }
  
  /* Menu styling */
  .menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .menu .logo .dsc {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
  }
  
  .menu-buttons {
    display: flex;
    align-items: center;
  }
  
  .menu-button {
    background-color: #6c63ff;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .menu-button:hover {
    background-color: #4b47e6;
  }
  
  .menu-separator {
    height: 1px;
    background-color: #e5e5e5;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Register page styling */
  .register-page {
    min-height: 100vh;
  }
  
  .box {
    /* display: inline-block; Remova essa linha */
    width: 300px; /* Adicione uma largura fixa */
    background-color: transparent;
    color: #333;
    padding: 1rem 2rem;
    margin: 1rem 0.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .box:hover {
    background-color: #4b47e6;
  }
  
  .hidden {
    display: none;
  }
  
  /* Form styling */
  form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .form-label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .form-control {
    width: 100%;
    padding: 0.5rem;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
  }
  
  .form-control:focus {
    border-color: #6c63ff;
    outline: none;
  }
  
  input[type="submit"] {
    width: 100%;
    background-color: #6c63ff;
    color: white;
    padding: 1rem;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  input[type="submit"]:hover {
    background-color: #4b47e6;
  }
  
  /* Modal styling */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 5px;
    text-align: center;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  #home-button {
    display: inline-block;
    background-color: #6c63ff;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1rem;
  }
  
  #home-button:hover {
    background-color: #4b47e6;
  }
  
  /* Adicione ou substitua as seguintes regras no seu CSS */

  .box {
    display: inline-block;
    background-color: transparent;
    color: #333;
    padding: 1rem 2rem;
    margin: 1rem 0.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #d4dff9; /* Cor de fundo mais clarinha */
    opacity: 0;
    left: 0;
    top: 0;
    z-index: -1;
    transition: opacity 0.3s;
  }
  
  .box:hover::before {
    opacity: 0.8; /* Aumentar a opacidade para que a cor de fundo seja mais visível */
  }
  
  .box:hover {
    color: #395bf3; /* Cor do texto mais escura */
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  }
  

  .submit-btn {
    width: 100%;
    background-color: #6c63ff;
    color: white;
    padding: 1rem;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .submit-btn:hover {
    background-color: #4b47e6;
  }

  body.login-page .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
    margin-left: 5px;
  }
  
  .loading {
    background-color: #28a745;
    color: #fff;
  }
  
  .loading .spinner-border {
    color: #fff;
  }

/* Spinner styling */
.custom-spinner {
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid #6c63ff;
  width: 20px;
  height: 20px;
  -webkit-animation: spin 1s linear infinite; /* Safari */
  animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.submit-btn-loading {
  background-color: #28a745;
  color: #fff;
}

.logo-img {
  width: 250px; /* ajuste o tamanho conforme necessário */
  height: auto;
}

.title {
  text-align: center;
  margin-bottom: 1rem;
}

.box-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.box-price {
  font-size: 36px;
  font-weight: bold;
  color: #28a745;
  margin-bottom: 0.5rem;
  text-align: center;
}

.monthly-text {
  font-size: 18px;
  font-weight: normal;
}

.currency-note {
  font-size: 10px;
  display: block;
  margin-bottom: 1rem;
}

.features-list {
  list-style-type: none;
  padding: 0;
}

.feature-item {
  font-size: 14px;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  width: 95%;
}


.check-icon {
  color: #28a745;
  font-size: 12px;
  margin-right: 5px;
}

.box-container {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Adicione esta linha */
  gap: 2rem;
  flex-wrap: wrap;
}


@media screen and (max-width: 767px) {

  .header {
    flex-direction: column;
    text-align: center;
  }

  .menu {
    flex-direction: column;
    padding-left: 0.5rem;
  }

  .menu-buttons {
    margin-top: 0.5rem;
    padding-right: 0.5rem;
    padding: 1px 28px;
    justify-content: center;
    align-items: center;
  }

  .menu-button {
    background-color: #6c63ff;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    padding: 5px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;

  }


}