body {
    background-image: url(/img/background-animation.gif);
    background-size: cover;
    background-position: center;
    position: relative;
    color: #f0f0f0;
    font-family: "Nunito", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 450px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

h1 {
    text-align: center;
    margin-bottom: 25px;
    color: #f0f0f0;
    font-size: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 8px;
    text-align: left;
    font-weight: bold;
    flex: unset;
    margin-right: 0;
}

.form-group input, 
.form-group select {
    flex: unset;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #444;
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #aa3bea;
    box-shadow: 0 0 0 2px rgba(170, 56, 190, 0.5);
}

.form-group input::placeholder {
    color: #ccc;
    opacity: 0.8;
}

.form-group select option[value=""] {
    color: #aaa;
}

.form-group select option {
    background-color: #333;
    color: #f0f0f0;
}

button {
    cursor: pointer;
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: #aa38be;
    color: #f0f0f0;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1rem;
}

button:hover {
    background-color: #be58d4;
    transform: translate(-2px);
}

button:active {
    transform: translateY(0);
    background-color: #8b14c7;
}

.resultado {
    margin-top: 25px;
    padding: 15px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8b14c7;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px dashed #8b14c7;
    word-wrap: break-word;
}

.mensagem-erro {
    color: #ff6b6b;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 10px;
    display: block;
    height: 1.2rem;
}

.btn-copiar {
    background-color: #28a745;
    margin-top: 10px;
}

.btn-copiar:hover {
    background-color: #218838;
}

@media (min-width: 600px) {
    .form-group {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .form-group label {
        margin-bottom: 0;
        margin-right: 15px;
        text-align: right;
    }
}

