/* ============================================================================
   contact-qr.css - centred QR-code card
   ----------------------------------------------------------------------------
   Used by: contact/jami/, contact/session/
   These two pages were byte-identical copies of the same inline stylesheet;
   they now share this one file. Any page that just shows a QR image plus a
   caption can reuse it.
   ========================================================================== */

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

body {
    height: 100vh; /* 設置body高度為視窗高度 */
    display: grid;
    place-items: center; /* Grid的簡寫，同時處理水平和垂直居中 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: Arial, sans-serif;
}

.image-wrapper {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 90vw;
    max-height: 90vh;
}

.centered-image {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    display: block;
    border-radius: 8px;
}

.caption {
    text-align: center;
    margin-top: 15px;
    color: #555;
    font-size: 16px;
}
