/* 
 * Reusable Global Buttons
 * Astro Bhagya Design System
 */

/* Primary Action Button (Solid Orange) */
.btn-ab-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
    box-sizing: border-box;
    color: var(--color-white, #ffffff);
    background: var(--color-primary, #f37021);
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ab-primary:hover {
    background: #e85d04;
    color: var(--color-white, #ffffff);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(243, 112, 33, 0.25);
    text-decoration: none;
}

/* Secondary Action Button (Light Blue / Gray) */
.btn-ab-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
    box-sizing: border-box;
    color: var(--color-navy, #1a237e);
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ab-light:hover {
    background: #e5e7eb;
    color: var(--color-navy, #1a237e);
    text-decoration: none;
}

.btn-ab-light:disabled,
.btn-ab-light.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Danger Action Button (Solid Red) */
.btn-ab-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
    box-sizing: border-box;
    color: var(--color-white, #ffffff);
    background: #dc2626;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ab-danger:hover {
    background: #b91c1c;
    color: var(--color-white, #ffffff);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
    text-decoration: none;
}

/* Outline Action Button (Border only, neutral hover) */
.btn-ab-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
    box-sizing: border-box;
    color: var(--color-navy, #1a237e);
    background: transparent;
    border: 1px solid var(--color-navy, #1a237e);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ab-outline:hover {
    background: var(--color-navy, #1a237e);
    color: #ffffff !important;
    text-decoration: none;
}
