/* Stile personalizzato per pagina login Roundcube con layout Bootstrap */
body {
      background-color: #f8f9fa;
    }

    #login-form {
      background-color: #fff;
      border-radius: 0.75rem;
      padding: 2rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .input-icon-wrapper {
      position: relative;
    }

    .input-icon-wrapper i {
      position: absolute;
      top: 50%;
      left: 12px;
      transform: translateY(-50%);
      color: #6c757d;
      z-index: 10;
    }

    .input-icon-wrapper input {
      padding-left: 2.2rem !important;
    }

    .form-control {
      margin-bottom: 1rem;
    }
    
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  overflow-y: auto;
}

#logo {
  max-width: 200px;
  height: auto;
}

.input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-text {
display: none;  
}

.input-group .form-control {
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #ced4da;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group .form-control:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.roundcube button[type="submit"] {
  padding: 12px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 0.5rem;
  background-color: #0d6efd;
  color: #fff;
  transition: background-color 0.3s ease;
}

.roundcube button[type="submit"]:hover {
  background-color: #0b5ed7;
}

.roundcube .support-link {
  color: #0d6efd;
  text-decoration: none;
}

.roundcube .support-link:hover {
  text-decoration: underline;
}

.roundcube .bg-white {
  background-color: #ffffff !important;
}

.roundcube .border {
  border: 1px solid #dee2e6 !important;
}

.roundcube .rounded {
  border-radius: 0.5rem !important;
}

.roundcube .text-muted {
  color: #6c757d !important;
}

.roundcube .text-dark {
  color: #212529 !important;
}

.roundcube .text-danger {
  color: #dc3545 !important;
}

.roundcube .login-box {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-top: 1rem;
}

.noscriptwarning {
  font-weight: bold;
  font-size: 1rem;
  padding: 10px;
}

/* Responsive fix */
@media (max-width: 576px) {
  .fs-4 {
    font-size: 1.3rem !important;
  }
  .fs-5 {
    font-size: 1.1rem !important;
  }
  .text-center {
    text-align: center !important;
  }
  .p-3 {
    padding: 1rem !important;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body {
    overflow-y: auto !important;
  }
}
