/* Stile base */
body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Contenitore principale */
#app {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Contenitore dell'app */
.app-container {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

/* Elementi del form */
input {
    background-color: #2d2d2d;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 8px 0;
    width: 100%;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #4CAF50;
}

/* Pulsanti */
button {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    margin: 8px 0;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

/* Titolo */
h2 {
    color: #4CAF50;
    text-align: center;
    margin-bottom: 25px;
}

/* Risultato */
.result {
    margin-top: 20px;
    padding: 15px;
    background-color: #2d2d2d;
    border-radius: 5px;
    word-break: break-all;
}

.input-group input {
    flex-grow: 1;
    margin-right: 5px;
    padding-right: 35px; /* Spazio per l'occhiolino */
    width: 100%;
}

/* Pulsante occhio */
.eye-button {
    padding: 0 15px;
    background: #555;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive design */
@media (max-width: 600px) {
    #app {
        padding: 10px;
    }
    
    .app-container {
        padding: 15px;
    }
}


/* Aggiungi queste regole al tuo file CSS esistente */

.copy-button {
  background-color: #2196F3 !important;
  margin-top: 10px;
}

.copy-button:hover {
  background-color: #0b7dda !important;
}

.copy-status {
  display: block;
  margin-top: 8px;
  color: #4CAF50;
  font-size: 0.9em;
  text-align: center;
}

.result {
  position: relative;
}

.input-group {
  position: relative;
  margin-bottom: 15px;
  display: flex;
}

.eye-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-icon {
  font-size: 16px;
  line-height: 1;
}

.eye-button:hover {
  background: #666;
}

/* Mantieni gli altri stili che avevi già */
.copy-button {
  background-color: #2196F3 !important;
  margin-top: 10px;
}

.copy-button:hover {
  background-color: #0b7dda !important;
}

.copy-status {
  display: block;
  margin-top: 8px;
  color: #4CAF50;
  font-size: 0.9em;
  text-align: center;
}

.install-button {
  bottom: 20px;
  right: 20px;
  background-color: #2196F3;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  z-index: 9999;
  cursor: pointer;
}

.install-button:hover {
  background-color: #0b7dda;
}