/* Thin banner shown below header */
.kansan-push-banner {
    position: fixed;
    top: 0; 
    left: 0;
    right: 0;
    background-color: #fef08a; /* soft yellow */
    color: #854d0e;
    text-align: center;
    padding: 8px 15px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    z-index: 99999;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

/* Adjust top for admin bar if present */
body.admin-bar .kansan-push-banner {
    top: 32px;
}

/* Modal overlay */
.kansan-push-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kansan-push-modal-overlay.active {
    display: block;
    opacity: 1;
}

/* Bottom sheet hint */
.kansan-push-hint-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 30px 20px;
    z-index: 100001;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 80vh;
    overflow-y: auto;
}

.kansan-push-hint-sheet.active {
    bottom: 0;
}

.kansan-push-hint-sheet h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #0f172a;
}

.kansan-push-hint-sheet p {
    margin: 0 0 20px 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.kansan-push-hint-sheet .instruction-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.kansan-push-hint-sheet .instruction-step .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #4f46e5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.kansan-push-hint-sheet button.close-btn {
    width: 100%;
    padding: 12px;
    background: #f1f5f9;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    color: #475569;
    cursor: pointer;
    margin-top: 10px;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .kp-prompt-title { font-size: 13px !important; }
    .kp-prompt-msg { font-size: 11px !important; white-space: normal !important; }
    .kp-prompt-btn { font-size: 11px !important; padding: 6px 10px !important; }
    .kp-prompt-icon { width: 35px !important; height: 35px !important; }
    .kp-prompt-box { gap: 10px !important; padding: 10px !important; }
    #kansan-push-yellow-strip { font-size: 11px !important; padding: 6px 10px !important; }
    .kansan-push-hint-sheet h3 { font-size: 16px !important; margin-bottom: 10px !important; }
    .kansan-push-hint-sheet p { font-size: 13px !important; margin-bottom: 15px !important; }
    .kansan-push-hint-sheet .instruction-step { font-size: 12px !important; padding: 10px !important; margin-bottom: 10px !important; }
    .kansan-push-hint-sheet .instruction-step .step-number { width: 24px !important; height: 24px !important; font-size: 12px !important; }
    .kansan-push-hint-sheet button.close-btn { font-size: 13px !important; padding: 10px !important; }
}
