/* Notification Popup Styles */
.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    background: rgba(15, 70, 59, 0.95);
    color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(46, 225, 188, 0.3),
              inset 0 0 10px rgba(46, 225, 188, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    border: 1px solid rgba(46, 225, 188, 0.4);
    backdrop-filter: blur(8px);
}

.notification-popup::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(46, 225, 188, 0.1),
        rgba(46, 225, 188, 0),
        rgba(46, 225, 188, 0.1));
    border-radius: 12px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

.notification-popup.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-popup.hide {
    transform: translateX(120%);
    opacity: 0;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon svg {
    filter: drop-shadow(0 0 5px rgba(46, 225, 188, 0.5));
}

.notification-message {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #2ee1bc;
    font-size: 20px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.2s ease;
    background: rgba(46, 225, 188, 0.1);
}

.notification-close:hover {
    background: rgba(46, 225, 188, 0.3);
    transform: rotate(90deg);
}

/* Success and Error specific styles */
.notification-popup.success {
    border-left: 4px solid #2ee1bc;
}

.notification-popup.error {
    border-left: 4px solid #ff6b6b;
}

/* Loading spinner for button */
.subscribe-btn.loading {
    position: relative;
    color: transparent;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .notification-popup {
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        width: calc(100% - 40px);
    }
}