/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: white;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

h1 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    font-weight: bold;
}

input, select {
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
}

button {

    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

.saved-websites-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
} */

#result {
    display: none;
    margin-top: 20px;
}

#generatedPassword {
    font-weight: bold;
    word-wrap: break-word;
}

/* Popup notification */
#copyPopup {
    display: none;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

#copyPopup.show {
    display: block;
}


.number-input-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    width: 100%;
}

#number {
    width: 60px;
    text-align: center;
    margin: 0 5px;
    padding: 8px 0;
}

#decrementButton, #incrementButton {
    width: 30px;
    height: 30px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

#decrementButton:hover, #incrementButton:hover {
    background-color: #e0e0e0;
}

/* Ensure the input takes up the remaining space */
.number-input-container input[type="number"] {
    flex-grow: 1;
    min-width: 0;
}

/* Remove spinner buttons from number input */
.number-input-container input[type="number"]::-webkit-inner-spin-button,
.number-input-container input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input-container input[type="number"] {
    -moz-appearance: textfield;
}


#togglePasswordButton {
    padding: 5px 10px;
    cursor: pointer;
}

.password-input-container {
    margin-top: 10px;
}