/* ==========================================================
   Gagi's Reiseübersetzer
   Version 0.2.0
   Mobile First
   ========================================================== */

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

:root {

    --apple-blue: #007AFF;
    --apple-green: #34C759;

    --background: #F2F2F7;
    --card: #FFFFFF;

    --text: #1C1C1E;
    --border: #D1D1D6;

    --radius: 18px;
}

body {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--background);

    color: var(--text);

    max-width: 800px;

    margin: auto;

    padding: 18px;

}

.header {

    text-align: center;

    margin-bottom: 25px;

}

.header h1 {

    font-size: 2rem;

    margin-bottom: 8px;

}

.header p {

    color: #666;

}

.card {

    background: var(--card);

    border-radius: var(--radius);

    padding: 18px;

    margin-bottom: 20px;

    box-shadow:
        0 4px 15px rgba(0,0,0,0.08);

}

.card h2 {

    margin-bottom: 12px;

}

textarea {

    width: 100%;

    min-height: 130px;

    resize: vertical;

    padding: 15px;

    border-radius: 14px;

    border: 1px solid var(--border);

    font-size: 18px;

    font-family: inherit;

}

button {

    display:block;

    width:100%;

    margin-top:15px;

    padding:15px;

    border:none;

    border-radius:14px;

    background:var(--apple-blue);

    color:white;

    font-size:18px;

    font-weight:600;

    transition:
    background-color .25s ease,
    transform .15s ease,
    opacity .25s ease;

    cursor:pointer;

}

button:active {

    transform: scale(.98);

}

.translation {

    min-height: 120px;

    max-height: 220px;

    overflow-y: auto;

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 15px;

    background: #fafafa;

    white-space: pre-wrap;

}

.copyButton {

    background: var(--apple-green);

}

.status {

    min-height: 24px;

    margin-top: 10px;

    color: #d97706;

    font-size: 15px;

    font-weight: 600;

}

button:disabled {

    background-color: #b8b8be;
    color: #ffffff;

    opacity: 0.7;

    cursor: not-allowed;

    transform: none;

}

