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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: #202124;
    font-family: Arial, Roboto, Helvetica, sans-serif;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 580px;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.main-icon {
    width: 183px;
    height: 213px;
    object-fit: contain;
}


.number-display {
    font-family: Arial, sans-serif;
    font-weight: 500;
    color: #202124;
    letter-spacing: -1px;
}

.number-display .base {
    font-size: 3.75rem;
    line-height: 1;
}

.number-display .exponent {
    font-size: 1.85rem;
    vertical-align: super;
    color: #4285f4;
    /* Google Blue */
}

.prompt-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    padding: 0.6rem 1.25rem;
    box-shadow: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.input-wrapper:hover,
.input-wrapper:focus-within {
    border-color: rgba(223, 225, 229, 0);
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #202124;
    font-size: 1rem;
    line-height: 1.5;
}

.button-row {
    display: flex;
    justify-content: center;
}

.quack-btn {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    line-height: 36px;
    height: 36px;
    min-width: 96px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.quack-btn:hover {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    border: 1px solid #dadce0;
    color: #202124;
}

.quack-btn:focus {
    border: 1px solid #4285f4;
    outline: none;
}