body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    margin-bottom: 20px;
}

form {
    margin-bottom: 20px;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

input, select, button {
    display: block;
    margin: 10px 0;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

input:focus, select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

button:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#login-message, #download-message {
    margin-top: 10px;
    color: #dc3545;
    font-weight: bold;
}

#progress-bar {
    width: 100%;
    height: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f0f0f0;
}

#progress-bar::-webkit-progress-bar {
    background: #f0f0f0;
    border-radius: 12px;
}

#progress-bar::-webkit-progress-value {
    background: linear-gradient(45deg, #28a745, #20c997);
    border-radius: 12px;
}

#progress-bar::-moz-progress-bar {
    background: linear-gradient(45deg, #28a745, #20c997);
    border-radius: 12px;
}

#progress-container {
    margin-top: 15px;
    text-align: center;
}

#progress-text {
    margin-top: 5px;
    font-weight: bold;
    color: #28a745;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    body {
        margin: 20px;
        padding: 15px;
        border-radius: 5px;
    }

    form {
        padding: 15px;
    }

    input, select, button {
        font-size: 16px; /* Evita zoom no iOS */
    }

    header img {
        max-width: 150px;
    }
}