/* Swiftly Button System */

/* Base Button Styles */
.swiftly-button {
    align-items: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: #4f46e5;
    color: white;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.swiftly-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
    background: #4338ca;
}

.swiftly-button i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.swiftly-button:hover i {
    transform: translateX(4px);
}

/* Light Theme Variants */
.swiftly-button.light {
    background: white;
    color: #4f46e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.swiftly-button.light:hover {
    background: #f3f4f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Dark Theme Variants */
.swiftly-button.dark {
    background: #4f46e5;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.swiftly-button.dark:hover {
    background: #4f46e5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Outline Variants */
.swiftly-button.outline {
    background: transparent;
    border: 2px solid #4f46e5;
    color: #4f46e5;
}

.swiftly-button.outline:hover {
    background: #4f46e5;
    color: white;
}

.swiftly-button.outline.dark {
    border-color: #1f2937;
    color: #1f2937;
}

.swiftly-button.outline.dark:hover {
    background: #1f2937;
    color: white;
}

/* Size Variants */
.swiftly-button.sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.swiftly-button.lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Width Variants */
.swiftly-button.full {
    width: 100%;
    justify-content: center;
}

/* State Variants */
.swiftly-button.success {
    background: #059669;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.swiftly-button.success:hover {
    background: #047857;
    box-shadow: 0 4px 6px rgba(5, 150, 105, 0.3);
}

.swiftly-button.danger {
    background: #dc2626;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.swiftly-button.danger:hover {
    background: #b91c1c;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
}

/* Disabled State */
.swiftly-button:disabled,
.swiftly-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.swiftly-button:disabled:hover,
.swiftly-button.disabled:hover {
    transform: none;
    box-shadow: none;
} 