.coffee-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 21, 38, 0.95);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.coffee-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.coffee-modal-container {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: auto;
    max-height: 85vh;
    background: linear-gradient(135deg, #021526, #03346E);
    border-radius: 28px 28px 0 0;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(110, 172, 218, 0.3);
}

.coffee-modal-container.active {
    transform: translateY(0);
}

.modal-drag-handle {
    width: 50px;
    height: 4px;
    background: rgba(110, 172, 218, 0.3);
    border-radius: 2px;
    margin: 12px auto 8px;
    cursor: grab;
}

.modal-drag-handle:active {
    cursor: grabbing;
}

.coffee-modal-header {
    padding: 0 1.5rem 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(110, 172, 218, 0.1);
}

.coffee-modal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #F6FF99, #A7E399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.coffee-modal-header h3 i {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #48B3AF;
}

.coffee-modal-close {
    width: 36px;
    height: 36px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coffee-modal-close:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

.coffee-modal-close i {
    font-size: 1rem;
    color: #ef4444;
}

.coffee-modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.welcome-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.welcome-text .coffee-emoji {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.welcome-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #F6FF99;
}

.welcome-text p {
    color: #94a3b8;
    font-size: 0.85rem;
}

.payment-methods-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-card-simple {
    background: rgba(2, 21, 38, 0.6);
    border: 1px solid rgba(110, 172, 218, 0.15);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.payment-card-simple:hover {
    border-color: #48B3AF;
    background: rgba(72, 179, 175, 0.05);
    transform: translateX(5px);
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(71, 110, 174, 0.2), rgba(72, 179, 175, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon i {
    font-size: 1.5rem;
    color: #48B3AF;
}

.payment-title {
    flex: 1;
}

.payment-title h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #F6FF99;
}

.payment-title p {
    font-size: 0.7rem;
    color: #94a3b8;
    margin: 0;
}

.payment-info {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #48B3AF;
    letter-spacing: 1px;
    word-break: break-all;
}

.copy-btn-sm {
    background: rgba(72, 179, 175, 0.2);
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    color: #48B3AF;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.copy-btn-sm:hover {
    background: #48B3AF;
    color: #021526;
}

.instruction-box {
    background: rgba(167, 227, 153, 0.1);
    border: 1px solid rgba(167, 227, 153, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem 0;
}

.instruction-box h5 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #A7E399;
}

.instruction-box p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.instruction-box ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.instruction-box li {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.app-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(71, 110, 174, 0.15);
    border: 1px solid rgba(110, 172, 218, 0.2);
    border-radius: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.app-btn:hover {
    background: rgba(72, 179, 175, 0.25);
    border-color: #48B3AF;
    transform: translateY(-2px);
}

.app-btn i {
    font-size: 1.2rem;
}

.thankyou-note {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(110, 172, 218, 0.1);
}

.thankyou-note p {
    font-size: 0.75rem;
    color: #94a3b8;
}

.thankyou-note i {
    color: #48B3AF;
}

.floating-coffee-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #48B3AF, #476EAE);
    border: none;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(72, 179, 175, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.floating-coffee-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(72, 179, 175, 0.6);
}

.floating-coffee-btn i {
    color: white;
}

@media (min-width: 769px) {
    .floating-coffee-btn {
        width: auto;
        padding: 12px 24px;
        border-radius: 40px;
    }
    
    .floating-coffee-btn span {
        color: white;
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .floating-coffee-btn i {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .floating-coffee-btn {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-coffee-btn span {
        display: none;
    }
    
    .floating-coffee-btn i {
        font-size: 1.5rem;
    }
    
    .coffee-modal-container {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
    }
    
    .info-value {
        font-size: 0.85rem;
    }
}

.modal-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #48B3AF, #476EAE);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 10002;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.modal-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .modal-toast {
        white-space: normal;
        text-align: center;
        max-width: 85%;
        font-size: 0.75rem;
        bottom: 80px;
    }
}