/* Sociální přihlášení – vždy načítat vedle site.bundle.css (Apple styly v bundlu chybí) */

.auth-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

/* Apple – stejný vzhled jako Google tlačítko */
#signin-modal a.btn-apple-auth,
.checkout-identify-page a.btn-apple-auth {
    display: grid;
    grid-template-columns: 20px 1fr 20px;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 0.5rem;
    color: #3c4043;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
    transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    box-sizing: border-box;
    cursor: pointer;
}

#signin-modal a.btn-apple-auth:hover,
.checkout-identify-page a.btn-apple-auth:hover {
    background: #f8f9fa;
    border-color: #d2d5d9;
    color: #202124;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
}

#signin-modal a.btn-apple-auth:focus,
.checkout-identify-page a.btn-apple-auth:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.25);
    color: #202124;
}

#signin-modal a.btn-apple-auth.is-loading,
.checkout-identify-page a.btn-apple-auth.is-loading {
    opacity: 0.65;
    pointer-events: none;
    cursor: wait;
}

#signin-modal .btn-apple-auth-icon,
.checkout-identify-page .btn-apple-auth-icon {
    grid-column: 1;
    justify-self: start;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 814 1000'%3E%3Cpath fill='%23000000' d='M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-163-39.5c-76 0-102.7 40.8-165.9 40.8s-105.4-57-155.5-127.4C46.7 790.7 0 663.8 0 541.3c0-194.3 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 174.2-46 28 0 128.4 2.6 195.3 99.2zm-234-181.3c30.5-36.9 51-88.1 51-139.3 0-7.1-.6-14.3-1.9-20-49.3 1.9-107.5 32.9-142.6 75.5-28.2 32.9-54.4 84.9-54.4 137.5 0 8.2.6 16.5 1.9 21.2 3.2.6 8.4 1.3 13.6 1.3 44.3 0 102.5-30.5 132.4-75.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

#signin-modal .btn-apple-auth-label,
.checkout-identify-page .btn-apple-auth-label {
    grid-column: 2;
    text-align: center;
    white-space: nowrap;
}
