body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Juster til top for at ligne skærmbilledet bedre */
    min-height: 100vh;
    background-color: #ffffff;
    margin: 0;
    padding-top: 50px; /* Lidt padding for at ligne skærmbilledet */
    box-sizing: border-box;
}

.currency-converter {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box; /* Inkluder padding i bredden */
}

h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.input-group {
    text-align: left;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.input-group input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    color: #333;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #007bff; /* Lidt blå kant ved fokus */
}

.currency-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.currency-selection div {
    flex: 1;
    text-align: left;
}

.currency-selection div:last-child {
    text-align: right;
}

.currency-selection label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.currency-selection span {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.swap-button {
    font-size: 28px;
    color: #007bff; /* Blå pil for at matche Lovable AI */
    cursor: pointer;
    padding: 0 15px;
    transition: transform 0.2s ease-in-out;
}

.swap-button:hover {
    transform: rotate(180deg);
}

.converted-amount {
    text-align: left;
    margin-bottom: 25px;
}

.converted-amount label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.result-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f7f7f7; /* Let grå baggrund for resultatet */
    border-radius: 8px;
    padding: 12px 15px;
    min-height: 50px; /* Sørg for at boksen altid har en vis højde */
}

#result {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    flex-grow: 1;
    text-align: left;
}

.copy-button {
    background: none;
    border: none;
    font-size: 24px;
    color: #777;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    transition: color 0.2s ease;
}

.copy-button:hover {
    color: #007bff;
}

.api-attribution {
    font-size: 12px;
    color: #888;
    margin-top: 30px;
}

.api-attribution a {
    color: #888;
    text-decoration: none;
}

.api-attribution a:hover {
    text-decoration: underline;
}