/* MetaMask Login Button Styles */
.metamask-login {
    position: relative;
    transition: all 0.3s ease;
    overflow: visible;
}

/* Glow effect on click */
.metamask-login.active {
    animation: glow-pulse 0.6s ease;
    box-shadow: 0 0 20px rgba(246, 133, 27, 0.6),
                0 0 40px rgba(246, 133, 27, 0.4),
                0 0 60px rgba(246, 133, 27, 0.2);
}

/* Hover effect */
.metamask-login:hover {
    box-shadow: 0 0 15px rgba(246, 133, 27, 0.5);
    transform: scale(1.02);
}

/* Glow pulse animation */
@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 5px rgba(246, 133, 27, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(246, 133, 27, 0.8),
                    0 0 50px rgba(246, 133, 27, 0.6),
                    0 0 75px rgba(246, 133, 27, 0.4);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 10px rgba(246, 133, 27, 0.3);
    }
}

/* MetaMask Alert Popup Styles */
.metamask-alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.metamask-alert-overlay.show {
    display: flex;
}

.metamask-alert-popup {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
    text-align: center;
}

.metamask-alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.metamask-alert-close:hover {
    background-color: #f0f0f0;
    color: #000;
}

.metamask-alert-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    color: #f6851b;
}

.metamask-alert-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.metamask-alert-message {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .metamask-alert-popup {
        padding: 20px;
        width: 95%;
    }

    .metamask-alert-title {
        font-size: 20px;
    }

    .metamask-alert-icon {
        font-size: 48px;
    }
}

