/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 16 2026 | 00:14:19 */
\
/*
 * FIN — PWA Install Page | v1.1.1 TEST
 * REPLACE CSS #137 v1.1.0
 *
 * Preserves desktop QR and installation styling.
 * Centers mobile installation buttons.
 * Adds expandable chevron to iOS instructions.
 * Does not change shortcode #42 or device detection.
 */

/* Desktop QR panel */

.fin-pwa-install .fin-pwa-desktop:not([hidden]) {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: min(100%, 440px);
    margin: 8px auto 12px;
    padding: 24px 20px;
    text-align: center;
    background: #f8f9fa;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
}

.fin-pwa-install .fin-pwa-desktop[hidden] {
    display: none !important;
}

.fin-pwa-install .fin-pwa-desktop-heading {
    width: 100%;
    margin: 0;
    color: #17202a;
    font-size: 16px;
    line-height: 1.5;
    text-align: center !important;
}

.fin-pwa-install .fin-pwa-desktop .fin-pwa-qr {
    display: block;
    box-sizing: border-box;
    width: min(100%, 260px);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 480px) {
    .fin-pwa-install .fin-pwa-desktop:not([hidden]) {
        padding: 18px 14px;
    }
}

/* Original caption and FIN button styling */

.fin-install-qr-caption .fin-pwa-desktop-heading {
    color: #f4f4f4 !important;
}

.fin-install-qr-caption .fin-pwa-install button.fin-pwa-install-button,
.fin-install-qr-caption .fin-pwa-install button.fin-pwa-instructions-button {
    background: #FFC72C !important;
    background-image: none !important;
    color: #151515 !important;
    border: 1px solid #FFC72C !important;
    font-family: "JetBrains Mono", monospace !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.fin-install-qr-caption .fin-pwa-install button.fin-pwa-install-button:hover,
.fin-install-qr-caption .fin-pwa-install button.fin-pwa-instructions-button:hover {
    background: #04E3FF !important;
    background-image: none !important;
    color: #151515 !important;
    border-color: #04E3FF !important;
}

.fin-install-qr-caption .fin-pwa-install button:focus-visible {
    outline: 2px solid #04E3FF !important;
    outline-offset: 3px;
}

/* NEW: Center mobile installation buttons */

.fin-pwa-install .fin-pwa-install-native:not([hidden]) > .fin-pwa-install-button,
.fin-pwa-install .fin-pwa-ios-safari:not([hidden]) > .fin-pwa-instructions-button,
.fin-pwa-install .fin-pwa-ios-other:not([hidden]) > .fin-pwa-instructions-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 9px;
}

/* NEW: Chevron for expandable iOS instructions */

.fin-pwa-install .fin-pwa-instructions-button::after {
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

/* Point upward when instructions are expanded */

.fin-pwa-install .fin-pwa-instructions-button[aria-expanded="true"]::after {
    transform: rotate(225deg) translateY(-2px);
}


/* Space between expanded install button and instructions */
.fin-pwa-install .fin-pwa-instructions-button[aria-expanded="true"] {
    margin-bottom: 14px !important;
}


/*
 * FIN — PWA Install Page | Dark Instructions Fix
 * Scope: Dark QR installation page only
 * Action: APPEND to existing CSS #137
 *
 * Preserve light-background Welcome Home styling.
 * No shortcode or installation behavior changes.
 */

.fin-install-qr-caption .fin-pwa-install
.fin-pwa-instructions {
    color: #E6EAF0 !important;
}

.fin-install-qr-caption .fin-pwa-install
.fin-pwa-instructions p,
.fin-install-qr-caption .fin-pwa-install
.fin-pwa-instructions li {
    color: #E6EAF0 !important;
}

.fin-install-qr-caption .fin-pwa-install
.fin-pwa-instructions strong {
    color: #FFFFFF !important;
}

.fin-install-qr-caption .fin-pwa-install
.fin-pwa-instructions li::marker {
    color: #04E3FF;
}
