@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #059669;
    --primary-hover: #047857;
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --input-bg: #f9fafb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo {
    width: 350px;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

main {
    background: var(--card-bg);
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--text-muted);
    gap: 8px;
}

label b {
    color: var(--text-main);
    font-weight: 600;
}

select, input {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--input-bg);
    color: var(--text-main);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    appearance: none; 
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236b7280%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
}

select:focus, input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
    background-color: #ffffff;
}

.buttonConverte {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 8px;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2);
}

.buttonConverte:hover {
    background-color: var(--primary-hover);
}

.buttonConverte:active {
    transform: scale(0.98);
}

section {
    margin-top: 10px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--input-bg);
}

.caixas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 40%;
}

.caixas img  {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);

}



.moeda {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.valor-moeda-01, .valor-moeda-02 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    word-break: break-all;
}


.seta-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.seta-img img {
    width: 24px;
    opacity: 0.3; 
}