/* Blue rounded button with icon and text side by side */
.app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    max-width: 100%;
    padding: 14px 28px;
    background: #3a52a4;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transition: background 0.2s ease;
    border: 2px solid #2f4388;
}

/* Icon keeps its size and never shrinks */
.app-button-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

/* Text wraps instead of overflowing on narrow screens */
.app-button-text {
    min-width: 0;
    overflow-wrap: break-word;
}

/* Darker blue on hover and keyboard focus */
.app-button:hover, .app-button:focus-visible {
    background: #ffffff;
    color: #2f4388;
}

/* Visible focus ring for keyboard users */
.app-button:focus-visible {
    outline: 3px solid #9fb2ee;
    outline-offset: 2px;
}

/* Small phones (down to 280px): full width, smaller padding and type */
@media (max-width: 480px) {
    .app-button {
        display: flex;
        padding: 12px 16px;
        font-size: 1rem;
    }
}