.main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 48px 20px;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 620px;
    margin: auto;
    background: var(--surface);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(20, 25, 43, 0.08);
}

h3 {
    text-align: center;
    padding-bottom: 24px;
    font-weight: 700;
    font-size: 1.4em;
    color: var(--text);
}

h5 {
    text-align: center;
    padding: 24px 0 0;
    font-size: 0.8em;
    color: var(--text-muted);
}

.container-input, form {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
}

input {
    flex: 1;
    height: 52px;
    color: var(--text);
    padding: 0 18px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
}

input::placeholder {
    color: var(--text-muted);
}

button {
    height: 52px;
    padding: 0 24px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

button:hover {
    background: var(--accent-dark);
}

.containerprecios {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.precios {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    background: var(--bg);
}

.precios h4 {
    margin: 0;
    font-weight: 600;
    color: var(--text);
    font-size: 0.98em;
}

.total {
    color: #27ae60 !important;
    font-weight: 700 !important;
}

@media screen and (max-width: 640px) {
    .container {
        padding: 24px;
    }

    .container-input, form {
        flex-direction: column;
    }

    .precios {
        flex-wrap: wrap;
        gap: 4px;
    }
}
