/* ============================================
   Buttons - Gradient Theme
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: #ffffff;
    box-shadow: var(--btn-primary-shadow);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: rgba(40, 150, 205, 0.1);
    color: var(--primary-600);
    border: 1px solid rgba(40, 150, 205, 0.2);
}

.btn-secondary:hover {
    background: rgba(40, 150, 205, 0.15);
    border-color: rgba(40, 150, 205, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 1.5px solid rgba(40, 150, 205, 0.3);
}

.btn-outline:hover {
    background: rgba(40, 150, 205, 0.08);
    border-color: rgba(40, 150, 205, 0.5);
}

.btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-full {
    width: 100%;
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Small Buttons */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* Danger Button */
.btn-danger {
    background: var(--badge-danger);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.btn-outline.btn-danger {
    background: transparent;
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
    box-shadow: none;
}

.btn-outline.btn-danger:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Success Button */
.btn-success {
    background: var(--badge-success);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

/* Icon Buttons */
.btn-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 150, 205, 0.06);
    border: 1px solid rgba(40, 150, 205, 0.12);
    border-radius: 10px;
    color: var(--admin-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: rgba(40, 150, 205, 0.12);
    border-color: rgba(40, 150, 205, 0.25);
    color: var(--primary-600);
    transform: translateY(-1px);
}

/* WhatsApp Button */
.btn-whatsapp,
.btn-whatsapp-tutor,
.btn-icon.btn-whatsapp-student {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.2);
    background: rgba(37, 211, 102, 0.06);
}

.btn-whatsapp:hover,
.btn-whatsapp-tutor:hover,
.btn-icon.btn-whatsapp-student:hover {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.3);
}

/* Delete Button Icon */
.btn-icon.btn-delete-tutor,
.btn-icon.btn-delete-student {
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.06);
}

.btn-icon.btn-delete-tutor:hover,
.btn-icon.btn-delete-student:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Actions Cell */
.actions-cell {
    display: flex;
    gap: 0.5rem;
}

