/* Estilo elegante, animado y profesional para instalación */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

.install-container {
    background: #2a2a2a;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.install-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #ccc;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #444;
    border-radius: 8px;
    background: #333;
    color: #fff;
    font-size: 1em;
    transition: border-color 0.3s, transform 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #d4af37;
    transform: scale(1.02);
}

button {
    padding: 12px;
    background: #d4af37;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.3s;
}

button:hover {
    background: #b8972e;
    transform: scale(1.05);
}

.error {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #444;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: #d4af37;
    transition: width 0.5s ease-in-out;
}

#progress-text {
    font-size: 1.1em;
    color: #ccc;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

#progress-text.success {
    font-size: 1.3em;
    color: #d4af37;
    font-weight: bold;
    background: rgba(212, 175, 55, 0.2);
    padding: 15px;
    border-radius: 8px;
    animation: successPulse 0.5s ease-in-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsividad */
@media (max-width: 600px) {
    .install-container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    #progress-text.success {
        font-size: 1.1em;
        padding: 10px;
    }
}