* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #3F5EFB;
    background: radial-gradient(circle, rgba(63, 94, 251, 1) 0%, rgba(252, 70, 107, 1) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h1 {
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

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

.currency-row {
    display: flex;
    gap: 15px;
    align-items: end;

}

.currency-input {
    flex: 2;
}

.currency-select {
    flex: 1;
}

input, 
select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus, 
select:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-weight: 600;
    text-align: left;
}

.converter-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}
.converter-btn:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.loading {
    margin-top: 20px;
    display: none;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 0.5s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.info{
    margin-top: 20px;
    font-size: 14px;
    color: #666;

}

.result {
    background: #f83ffb;
    background: radial-gradient(circle, rgba(248, 63, 251, 1) 0%, rgba(252, 70, 107, 1) 100%);
    padding: 20px;
    margin-top: 30px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    display: none;
}

.result-erro {
    background: #b43a42;
    background: linear-gradient(90deg, rgba(180, 58, 66, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
    padding: 15px;
    margin-top: 20px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 15px;
    display: none;
}
