/* Button Styles for Darner.ai */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 500;
    transition: var(--transition-all);
    cursor: pointer;
    text-align: center;
}

/* Primary Button */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 225, 210, 0.4);
}

/* Secondary Button */
.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--neutral-50);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 225, 210, 0.4);
}

/* Tertiary/Ghost Button */
.btn-tertiary {
    background: transparent;
    color: var(--primary);
    border: none;
}

.btn-tertiary:hover {
    color: var(--secondary);
    background-color: rgba(0, 225, 210, 0.1);
}

.btn-tertiary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 225, 210, 0.4);
}

/* Accent Button */
.btn-accent {
    background: var(--gradient-accent);
    color: white;
    border: none;
}

.btn-accent:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 62, 127, 0.4);
}

/* Dark Button */
.btn-dark {
    background: var(--dark);
    color: white;
    border: none;
}

.btn-dark:hover {
    background-color: var(--neutral-800);
    box-shadow: var(--shadow-md);
}

.btn-dark:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 20, 38, 0.4);
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: var(--font-size-xl);
}

/* Full Width Button */
.btn-full {
    width: 100%;
}

/* Icon Button */
.btn-icon {
    padding: 0.5rem;
    border-radius: var(--border-radius-full);
}

/* Button with Icon */
.btn-with-icon .icon {
    margin-right: 0.5rem;
}

.btn-with-icon.icon-right .icon {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Disabled Button */
.btn:disabled, 
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button Group */
.btn-group {
    display: inline-flex;
}

.btn-group .btn:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}