#tipBtn {
    background: #f7931a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background 0.2s;
}

#tipBtn:hover {
    background: #ffaa33;
}

.tip-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.tip-modal {
    background: #1e1e1e;
    padding: 28px;
    border-radius: 14px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.tip-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
}

.tip-close:hover {
    color: #fff;
}

.tip-title {
    color: #f7931a;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.tip-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #333;
}

.tip-tab {
    flex: 1;
    padding: 10px;
    background: #2a2a2a;
    border: none;
    color: #888;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.tip-tab:hover {
    background: #333;
}

.tip-tab.active {
    background: #f7931a;
    color: #fff;
}

.tip-onchain-label {
    color: #aaa;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.tip-amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.tip-amount-btn {
    background: #2a2a2a;
    border: 2px solid #444;
    color: #e0e0e0;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s;
}

.tip-amount-btn:hover {
    border-color: #f7931a;
}

.tip-amount-btn.selected {
    background: #3a3020;
    border-color: #f7931a;
}

.tip-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.tip-custom input {
    flex: 1;
    background: #2a2a2a;
    border: 2px solid #444;
    color: #e0e0e0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
}

.tip-custom input:focus {
    border-color: #f7931a;
}

.tip-custom-label {
    color: #888;
    font-size: 0.9rem;
}

.tip-generate-btn {
    width: 100%;
    background: #f7931a;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.tip-generate-btn:hover:not(:disabled) {
    background: #ffaa33;
}

.tip-generate-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

.tip-error {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 8px;
    min-height: 1.2em;
}

.tip-amount-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f7931a;
    margin-bottom: 16px;
}

.tip-qr {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 14px;
}

.tip-qr img {
    display: block;
}

.tip-bolt11 {
    background: #2a2a2a;
    padding: 10px 12px;
    border-radius: 8px;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.7rem;
    color: #888;
    max-height: 70px;
    overflow-y: auto;
    margin-bottom: 14px;
    text-align: left;
}

.tip-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
}

.tip-copy-btn,
.tip-new-btn {
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.tip-copy-btn {
    background: #f7931a;
    color: #fff;
}

.tip-copy-btn:hover {
    background: #ffaa33;
}

.tip-new-btn {
    background: #333;
    color: #ccc;
}

.tip-new-btn:hover {
    background: #444;
}

.tip-status {
    background: #3a3020;
    color: #f7931a;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: tipPulse 2s ease-in-out infinite;
}

@keyframes tipPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.tip-paid-icon {
    font-size: 4rem;
    margin-bottom: 10px;
}

.tip-paid-text {
    color: #4ade80;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.tip-paid-thanks {
    color: #888;
    font-size: 1rem;
}
