body { 
    font-family: Arial, sans-serif; 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px;
    background: #f5f5f5;
}

.container { 
    background: white; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

textarea { 
    width: 100%; 
    height: 200px; 
    margin: 10px 0; 
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    box-sizing: border-box;
}

button { 
    background: #007cba; 
    color: white; 
    border: none; 
    padding: 12px 24px; 
    border-radius: 4px; 
    cursor: pointer;
    font-size: 16px;
}

button:hover { background: #005a8b; }
button:disabled { background: #ccc; cursor: not-allowed; }

.url-display { 
    background: #e8f4f8; 
    padding: 15px; 
    border-radius: 4px; 
    margin: 15px 0;
    word-break: break-all;
    font-family: monospace;
}

.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

/* Modal styles */

.modal {
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none; /* hidden initially */
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 6px;
  width: 300px;
  text-align: center;
}

.modal-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
}

.modal-buttons button {
  width: 100px;
}
#passwordRetryMessage {
  font-size: 0.9em;
  color: red;
  min-height: 1.2em;
  margin-top: 10px;
}
#passwordMinLengthNotice {
  font-size: 0.9em;
  color: #555;
  margin-top: 6px;
}
