/*
 * Modern Gradient Buttons
 * From Uiverse.io - https://uiverse.io/
 * Inspired by modern web design trends with smooth gradient transitions
 */

/* Base gradient button style */
.ui-button--gradient {
    position: relative;
    display: inline-block;
    margin: 15px;
    padding: 15px 30px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    color: #725AC1;
    background: transparent;
    cursor: pointer;
    transition: ease-out 0.5s;
    border: 2px solid #725AC1;
    border-radius: 10px;
    box-shadow: inset 0 0 0 0 #725AC1;
}

.ui-button--gradient:hover {
    color: white;
    box-shadow: inset 0 -100px 0 0 #725AC1;
}

.ui-button--gradient:active {
    transform: scale(0.9);
}

/* Color variants */
.ui-button--gradient.ui-button--primary {
    color: #3f4dee;
    border-color: #3f4dee;
}

.ui-button--gradient.ui-button--primary:hover {
    box-shadow: inset 0 -100px 0 0 #3f4dee;
}

.ui-button--gradient.ui-button--success {
    color: #22c55e;
    border-color: #22c55e;
}

.ui-button--gradient.ui-button--success:hover {
    box-shadow: inset 0 -100px 0 0 #22c55e;
}

.ui-button--gradient.ui-button--danger {
    color: #ef4444;
    border-color: #ef4444;
}

.ui-button--gradient.ui-button--danger:hover {
    box-shadow: inset 0 -100px 0 0 #ef4444;
}

.ui-button--gradient.ui-button--warning {
    color: #f59e0b;
    border-color: #f59e0b;
}

.ui-button--gradient.ui-button--warning:hover {
    box-shadow: inset 0 -100px 0 0 #f59e0b;
}

.ui-button--gradient.ui-button--ghost {
    color: #725AC1;
    border-color: #725AC1;
    background: rgba(114, 90, 193, 0.05);
}

.ui-button--gradient.ui-button--ghost:hover {
    background: rgba(114, 90, 193, 0.1);
    box-shadow: inset 0 -100px 0 0 rgba(114, 90, 193, 0.2);
}

/* Size variants */
.ui-button--gradient.ui-button--sm {
    padding: 10px 20px;
    font-size: 14px;
    margin: 10px;
}

.ui-button--gradient.ui-button--lg {
    padding: 20px 40px;
    font-size: 20px;
    margin: 20px;
}

/* Dark mode support */
    .ui-button--gradient {
        color: #a78bfa;
        border-color: #a78bfa;
    }

    .ui-button--gradient:hover {
        color: white;
    }
}
